]> git.openpandora.org Git - openembedded.git/commitdiff
add more support for Qt linking against X11
authorMichael Lauer <mickey@vanille-media.de>
Wed, 27 Oct 2004 18:05:13 +0000 (18:05 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 27 Oct 2004 18:05:13 +0000 (18:05 +0000)
BKrev: 417fe359oXQ-ArLffi_6BthchUd59A

classes/qmake-base.oeclass
classes/qt3x11.oeclass
qmake/qmake-native-3.2.3/linux-oe-qmake.conf

index b6890369d1388020ad257abedbccc1d0668d38ba..a5dd97968f0a796dc5aa084bd43e00ce5c879050 100644 (file)
@@ -22,6 +22,7 @@ export OE_QMAKE_RPATH="-Wl,-rpath-link,"
 export OE_QMAKE_INCDIR_QT="${QTDIR}/include"
 export OE_QMAKE_LIBDIR_QT="${QTDIR}/lib"
 export OE_QMAKE_LIBS_QT="qte"
+export OE_QMAKE_LIBS_X11=""
 
 oe_qmake_mkspecs () {
     mkdir -p mkspecs/${OE_QMAKE_PLATFORM}
index 9c3a289f86d5d86029c8bcb6ed49ad635ab2bded..2a2f3d5bbdb3635630108c169373fc73843b6f53 100644 (file)
@@ -8,3 +8,4 @@ export OE_QMAKE_CXXFLAGS="${CXXFLAGS}"
 export OE_QMAKE_INCDIR_QT="${QTDIR}/include"
 export OE_QMAKE_LIBDIR_QT="${QTDIR}/lib"
 export OE_QMAKE_LIBS_QT="qt"
+export OE_QMAKE_LIBS_X11="-lXext -lX11 -lm"
index 62410c5f139aaf4a29ef841ccebcca945bc81e55..287dbeba19e37ba40f89a37602114908bf2a5392 100644 (file)
@@ -52,7 +52,7 @@ QMAKE_RPATH             = -Wl,-rpath-link,
 
 QMAKE_LIBS             = $(LIBS_EXTRA)
 QMAKE_LIBS_DYNLOAD      = -ldl
-QMAKE_LIBS_X11         = 
+QMAKE_LIBS_X11         = $(OE_QMAKE_LIBS_X11)
 QMAKE_LIBS_X11SM       = 
 QMAKE_LIBS_QT          = -l$(OE_QMAKE_LIBS_QT)
 QMAKE_LIBS_QT_THREAD    = -l$(OE_QMAKE_LIBS_QT)-mt