Package: qtbase5-dev Version: 5.1.0+dfsg-1 Severity: minor Dear Maintainer, please consider this minimal cmake project (CMakeLists.txt):
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.9) SET(QT_MIN_VERSION "5.0.1") FIND_PACKAGE(Qt5Core ${QT_MIN_VERSION}) With Qt5 (at time of writing 5.1.0+dfsg-1 is in experimental) you will get this error, if the package "qtbase5-private-dev" is not installed: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message): The imported target "Qt5::Core" references the file "/usr/include/qt5/QtCore/5.1.0" 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 "/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake:52 (_qt5_Core_check_file_exists) CMakeLists.txt:6 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! What i excepted was something like that: -- Configuring done -- Generating done -- Build files have been written to: /tmp/test I don't know if this behavior was intended. But it might be more intuitive to just install qtbase5-dev and everything works out of the box. Perhaps a dependency or recommendation in qtbase5-dev on qtbase5-private-dev might help here. Best regards, Jakob M. -- System Information: Debian Release: 7.1 APT prefers unstable APT policy: (650, 'unstable'), (650, 'stable'), (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'proposed-updates') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.41-4-amd64-wana (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org