[Development] Why we need some CMake file of Build Or Install Qt?

Stephen Kelly stephen.kelly at kdab.com
Thu Mar 22 13:59:39 CET 2012


On Thursday, March 22, 2012 12:13:20 shane.kearns at accenture.com wrote:
> Hi Stephen,
> 
> I can confirm - I have a c:\cmake directory created.
> Based on the date, I think it came from building the alpha package.
> 
> It contains one folder (Qt5) with two files, Qt5Config.cmake and
> Qt5ConfigVersion.cmake.
> 
> Qt config line was "configure -opensource -confirm-license -nomake tests"
> Alpha package was unzipped to c:\dev\qt\qt-everywhere...

Thanks,

Sergio sent me a copy of the files.

Can you reproduce the issue? 
Can you tell if the files are created at build time or at install time? 
Do you have files in $$Your_Build_Dir/lib/cmake ?

Can you apply this patch and grep for the message?


diff --git a/mkspecs/features/create_cmake.prf 
b/mkspecs/features/create_cmake.prf
index 6a8045a..513dad3 100644
--- a/mkspecs/features/create_cmake.prf
+++ b/mkspecs/features/create_cmake.prf
@@ -160,4 +160,6 @@ exists($$cmake_macros_file.input) {
     cmake_qt5_module_files.files += $$cmake_macros_file.output
 }
 
-cmake_qt5_module_files.path = 
$$[QT_INSTALL_LIBS]/cmake/Qt5$${CMAKE_MODULE_NAME}
+CMAKE_LIB_OUTPUT_DIR = $$[QT_INSTALL_LIBS]
+message("CMAKE_LIB_OUTPUT_DIR -- $${CMAKE_LIB_OUTPUT_DIR}")
+cmake_qt5_module_files.path = 
$$CMAKE_LIB_OUTPUT_DIR/cmake/Qt5$${CMAKE_MODULE_NAME}


Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/420b7570/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/420b7570/attachment.sig>


More information about the Development mailing list