From: Matthew Dombroski <matthew@4d-electronics.co.nz>
To: openembedded dev <openembedded-devel@lists.openembedded.org>
Subject: CMake and Qt4
Date: Tue, 25 Aug 2009 16:46:56 +1200 [thread overview]
Message-ID: <4A936CC0.70409@4d-electronics.co.nz> (raw)
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
next reply other threads:[~2009-08-25 5:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 4:46 Matthew Dombroski [this message]
2009-08-25 5:09 ` CMake and Qt4 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A936CC0.70409@4d-electronics.co.nz \
--to=matthew@4d-electronics.co.nz \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.