All of lore.kernel.org
 help / color / mirror / Atom feed
* CMake and Qt4
@ 2009-08-25  4:46 Matthew Dombroski
  2009-08-25  5:09 ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Dombroski @ 2009-08-25  4:46 UTC (permalink / raw)
  To: openembedded dev

Hi,

The FindQt4.cmake distributed with cmake (for some time now) is unable 
to find the libs installed by qt4e (I haven't tried qt4x11).
This is because the libs installed by openembedded use an unusual naming 
convention that isnt known in FindQt4.cmake.

The below patch fixes the problem.

~Matt


diff -rNuap cmake-a/Modules/FindQt4.cmake cmake-b/Modules/FindQt4.cmake
--- cmake-a/Modules/FindQt4.cmake       2009-02-22 09:36:50.000000000 +1300
+++ cmake-b/Modules/FindQt4.cmake       2009-08-25 16:24:25.560194623 +1200
@@ -642,7 +642,7 @@ IF (QT4_QMAKE_FOUND)
     FOREACH(QT_MODULE ${QT_MODULES})
       STRING(TOUPPER ${QT_MODULE} _upper_qt_module)
       FIND_LIBRARY(QT_${_upper_qt_module}_LIBRARY_RELEASE
-                 NAMES ${QT_MODULE} ${QT_MODULE}4
+                 NAMES ${QT_MODULE} ${QT_MODULE}E ${QT_MODULE}4
                    PATHS ${QT_LIBRARY_DIR} NO_DEFAULT_PATH
           )
       FIND_LIBRARY(QT_${_upper_qt_module}_LIBRARY_DEBUG





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-25  9:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-25  4:46 CMake and Qt4 Matthew Dombroski
2009-08-25  5:09 ` Holger Hans Peter Freyther
2009-08-25  5:22   ` Matthew Dombroski
2009-08-25  6:34     ` Holger Hans Peter Freyther
2009-08-25  9:08   ` Valentin Longchamp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.