-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.14.0
-
None
-
Debian 10 AMD64.
Hi there,
after doing this
$ git clone https://code.qt.io/qt/qt5.git $ cd qt5/ $ git checkout dev $ perl init-repository $ ./configure -opensource -nomake examples -nomake tests -confirm-license -prefix ~/test/lib $ make -j128 $ make install
the ~/test/lib/lib/cmake/Qt5/Qt5Config.cmake contains an incomplete line
_populate__target_properties(RELEASE "libQt5DesignerComponents.so." "" )
thus yielding an error when building against it:
CMake Error at /home/user/test/lib/lib/cmake/Qt5/Qt5Config.cmake:15 (message): The imported target "Qt5::" references the file "/home/user/test/lib/lib/libQt5DesignerComponents.so." but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/home/user/test/lib/lib/cmake/Qt5/Qt5Config.cmake" but not all the files it references. Call Stack (most recent call first): /home/user/test/lib/lib/cmake/Qt5/Qt5Config.cmake:32 (_qt5__check_file_exists) /home/user/test/lib/lib/cmake/Qt5/Qt5Config.cmake:154 (_populate__target_properties) CMakeLists.txt:21 (find_package)
This problem doesn't exist in branch 5.13, which differs in this detail:
--- qt-513/qttools/src/designer/src/components/lib/lib.pro 2019-07-09 15:18:05.571141956 +0200 +++ qt-514/qttools/src/designer/src/components/lib/lib.pro 2019-07-09 14:06:49.347075534 +0200 @@ -3,7 +3,7 @@ QT = core gui-private widgets-private designer-private QT_PRIVATE = xml -CONFIG += internal_module +CONFIG += internal_module create_cmake # QtDesignerComponents uses DEFINES += QT_STATICPLUGIN
Best,
Björn