Difference between revisions of "Template:Qt4-Common"

From CBLFS
Jump to navigationJump to search
m (alphabet. deps; gstreamer and libpng added as optional deps; added some configure options)
(Updated the download link and home page seeing as Qt4 has moved from the Nokia website to qt-project.org)
 
(10 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.trolltech.com/qt/source/qt-all-opensource-src-{{Qt4-Version}}.tar.bz2
+
| http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-{{Qt4-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
{{Package-Introduction|Qt is a comprehensive development framework that includes an extensive array of features, capabilities and tools that enable development of high-performance, cross-platform rich-client and server-side applications. Qt is the GUI framework on which [[KDE]] is built and Qt4 is the version of Qt that the [[KDE]]4 is use. You can of course use Qt for non-[[KDE]] applications as well, but if you wish to use [[KDE]] or any [[KDE]]-based applications, you must have Qt installed on your system.|http://www.qtsoftware.com/products/appdev}}
+
{{Package-Introduction|Qt is a comprehensive development framework that includes an extensive array of features, capabilities and tools that enable development of high-performance, cross-platform rich-client and server-side applications. Qt is the GUI framework on which [[KDE4]] is built and Qt4 is the version of Qt that the [[KDE4]] uses. You can of course use Qt for non-KDE applications as well, but if you wish to use [[KDE4]] or any [[KDE4]]-based applications, you must have Qt4 installed on your system.|http://qt-project.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 70: Line 70:
 
  -no-webkit
 
  -no-webkit
  
If you would like to make WebKit is default rendering engine in Assistant add the following to the configure command:
+
If you would like to disable linking Qt libraries and executables using the library install path as a runtime library path add the following to the configure command:
  
  -assistant-webkit
+
  -no-rpath
  
If you would like to disable linking Qt libraries and executables using the library install path as a runtime library path add the following to the configure command:
+
If you don't need qtxmlpatterns add the following to the configure command (since only qtxmlpatterns requires this):
  
  -no-rpath
+
  -no-exceptions
  
 
If your [[X Window System]] is <font color="red">'''NOT'''</font> Xorg, then add to configure:
 
If your [[X Window System]] is <font color="red">'''NOT'''</font> Xorg, then add to configure:
Line 91: Line 91:
  
 
{{Note|Also you can disable GLib event loop at runtime by setting NO_GLIB environment variable to 1.}}
 
{{Note|Also you can disable GLib event loop at runtime by setting NO_GLIB environment variable to 1.}}
 +
 +
If you don't want to compile demos (save compile time) add the following to the configure command:
 +
 +
-nomake demos
 +
 +
If you don't want to compile examples (save compile time) add the following to the configure command:
 +
 +
-nomake examples
 +
 +
 +
If your [[GCC]] is <font color="red">'''NOT'''</font> gcc4 you probably need to disable visibility explicitly. Just add the following to the configure command:
 +
 +
-no-reduce-exports

Latest revision as of 15:34, 9 July 2013

Download Source: http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz

Introduction to Qt4-Common

Qt is a comprehensive development framework that includes an extensive array of features, capabilities and tools that enable development of high-performance, cross-platform rich-client and server-side applications. Qt is the GUI framework on which KDE4 is built and Qt4 is the version of Qt that the KDE4 uses. You can of course use Qt for non-KDE applications as well, but if you wish to use KDE4 or any KDE4-based applications, you must have Qt4 installed on your system.

Project Homepage: http://qt-project.org/

Dependencies

Required

Optional

Configuration Information

If you would like to compile with MySQL support add the following to the configure command:

-plugin-sql-mysql -I/usr/include/mysql

If you would like to compile with PostgreSQL support add the following to the configure command:

-plugin-sql-psql -I/usr/include/postgresql/server

If you would like to compile with SQLite support add the following to the configure command:

-plugin-sql-sqlite2 -system-sqlite

If you would like to compile with SQLite3 support add the following to the configure command:

-plugin-sql-sqlite -system-sqlite

If you would like to compile with unixODBC support add the following to the configure command:

-plugin-sql-odbc

If you would like to compile with NAS support add the following to the configure command:

-system-nas-sound

If you would like to disable Qt 3 support functionality add the following to the configure command:

-no-qt3support

If you would like to disable QtWebKit module add the following to the configure command:

-no-webkit

If you would like to disable linking Qt libraries and executables using the library install path as a runtime library path add the following to the configure command:

-no-rpath

If you don't need qtxmlpatterns add the following to the configure command (since only qtxmlpatterns requires this):

-no-exceptions

If your X Window System is NOT Xorg, then add to configure:

-no-xfixes

If you want optimized qmake tool add the following to the configure command:

-optimized-qmake

If you would like to disable GLib event loop (which is known to be buggy) add the following to the configure command:

-no-glib
Caution.png

Note

Also you can disable GLib event loop at runtime by setting NO_GLIB environment variable to 1.

If you don't want to compile demos (save compile time) add the following to the configure command:

-nomake demos

If you don't want to compile examples (save compile time) add the following to the configure command:

-nomake examples


If your GCC is NOT gcc4 you probably need to disable visibility explicitly. Just add the following to the configure command:

-no-reduce-exports