I was trying to learn and practice the “QtDD12 – Desktop Components for QtQuick” video available on youtube.
I followed the linked provided with the video clip and I realised that I have to download the slides and then extra project file from https://qt.gitorious.org/qt/qtquickcontrols/source/ [qt.gitorious.org]”
and then :
run qmake
make install
My attempt to build and install the project was unsuccessful due to compilation errors.
I am using Qt 5.1.1 on my MAC OSX 10.8.5 (64-bit) machine using clang-64.
I got following compilation errors:
*qt-qtquickcontrols/src/controls/Private/qquickwheelarea.cpp:82:28: error: no member named ‘ScrollBegin’ in namespace ‘Qt’
if (we->phase() Qt::ScrollBegin)
~~~~^
/qt-qtquickcontrols/src/controls/Private/qquickwheelarea.cpp:84:18: error: no member named 'phase' in 'QWheelEvent'
else if (we->phase() Qt::ScrollEnd)
~~ ^
/Users/sina/Desktop/LearningQt/QML/Online Tutorial/QML Tutorial 2-QML Desktop Design Components/qt-qtquickcontrols/src/controls/Private/qquickwheelarea.cpp:84:33: error: no member named ‘ScrollEnd’ in namespace ‘Qt’
else if (we->phase() == Qt::ScrollEnd)
~~~~^
4 errors generated.
make3: *** [.obj/debug-shared/qquickwheelarea.o] Error 1
make2: *** [debug-all] Error 2
make1: *** [sub-controls-make_first] Error 2
make: *** [sub-src-make_first] Error 2
22:54:14: The process “/usr/bin/make” exited with code 2.
Error while building/deploying project qtquickcontrols (kit: Desktop Qt 5.1.1 clang 64bit)
When executing step ‘Make’ *
I do not know if there is a pre-built version so I could install and use them otherwise how can I solve the compilation issues
Thanks
↧