Error building QtCreator from source
Unsolved
QML and Qt Quick
-
Can someone help me.
I am facing a chanllenge when building qtcreator from source.
It fails with error:CMake Error at src/plugins/qmlpreview/CMakeLists.txt:28 (get_target_property): get_target_property() called with non-existent target "Qt5::QmlPrivate".
I was trying to build using the command:
cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja "-DCMAKE_PREFIX_PATH='/usr/lib64/cmake/Qt5/';/bin" "/home/taps/Downloads/Programs/qt-creator/"
Information about my system:
Operating System: openSUSE Tumbleweed 20211214 KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2 Kernel Version: 5.15.6-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-4200M CPU @ 2.50GHz Memory: 11.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600
-
Hi,
It looks like you are using your distribution provided Qt. If so, then you have to install the development packages that provide the private parts of Qt.