FYI
-------- Original Message --------
Subject: [Bug 894805] Re: QT_IMPORTS_DIR is not defined when no QML
plugins are installed
Date: Thu, 31 Jan 2013 19:30:37 -0000
From: Launchpad Bug Tracker <894...@bugs.launchpad.net>
Reply-To: Bug 894805 <894...@bugs.launchpad.net>
To: cm...@packages.qa.debian.org
** Branch linked: lp:ubuntu/raring-proposed/cmake
--
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/894805
Title:
QT_IMPORTS_DIR is not defined when no QML plugins are installed
Status in “cmake” package in Ubuntu:
Fix Released
Status in “cmake” source package in Oneiric:
Confirmed
Status in “cmake” source package in Precise:
Fix Released
Bug description:
When requiring the Qt4 package in a CMakeLists.txt, among the
available variables the one called QT_IMPORTS_DIR should point to
where QML plugins are to be installed (its value would typically be
"/usr/lib/qt4/imports").
However with cmake 2.8.5-1ubuntu1 in Oneiric, its value is
"QT_IMPORTS_DIR-NOTFOUND" as evidenced when running cmake on the
following minimal CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
find_package(Qt4 REQUIRED)
message("QT_IMPORTS_DIR = " ${QT_IMPORTS_DIR})
A quick look at /usr/share/cmake-2.8/Modules/FindQt4.cmake shows that
the logic used to define the value of QT_IMPORTS_DIR queries qmake’s
QT_INSTALL_IMPORTS variable.
On the same machine, the query returns the expected value:
$ qmake -query QT_INSTALL_IMPORTS
/usr/lib/qt4/imports
So the logic to define QT_IMPORTS_DIR in
/usr/share/cmake-2.8/Modules/FindQt4.cmake is somehow faulty.
I have tested the above both on x86 and amd64, with the same results.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cmake 2.8.5-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 2c7995ffdf051a6d0adf7ab2c7be5ba9
CheckboxSystem: 7e42599bda39ea7ff8b528272b6ef52b
Date: Fri Nov 25 16:31:59 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64
(20111012)
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/894805/+subscriptions
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers