mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt libjscore.a not installed


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Qt libjscore.a not installed
Date: Mon, 12 Dec 2011 09:27:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5



Using shared Qt libs looks like the only known solution for linking an application to both QtWebKit and QtScript at this point.

If you want to try out building shared Qt, the following patch seems to work well on the development branch:

diff --git a/src/qt.mk b/src/qt.mk
index 097f61a..21a492b 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -34,7 +34,7 @@ define $(PKG)_BUILD
         -force-pkg-config \
         -release \
         -exceptions \
-        -static \
+        -shared \
         -prefix '$(PREFIX)/$(TARGET)' \
         -prefix-install \
         -script \
@@ -43,8 +43,7 @@ define $(PKG)_BUILD
         -webkit \
         -no-glib \
         -no-gstreamer \
-        -no-phonon \
-        -no-phonon-backend \
+        -phonon \
         -accessibility \
         -no-reduce-exports \
         -no-rpath \
@@ -52,10 +51,10 @@ define $(PKG)_BUILD
         -nomake demos \
         -nomake docs \
         -nomake examples \
-        -qt-sql-sqlite \
-        -qt-sql-odbc \
-        -qt-sql-psql \
-        -qt-sql-tds -D Q_USE_SYBASE \
+        -plugin-sql-sqlite \
+        -plugin-sql-odbc \
+        -plugin-sql-psql \
+        -plugin-sql-tds -D Q_USE_SYBASE \
         -system-zlib \
         -system-libpng \
         -system-libjpeg \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]