This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Building QT from source?

Tags: None
(comma "," separated)
User avatar
zak89
Registered Member
Posts
86
Karma
0
OS

Building QT from source?

Tue Apr 20, 2010 2:48 pm
I'd like to try to build the latest QT source from the git repo; I'm running openSUSE 11.2 with KDE 4.4 (QT 4.6). Are there any issues to be aware of in this case? I'd like the system QT libs to remain and be used by the system software, but use the newer QT for apps I build from source (rekonq, etc).


zak89, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Building QT from source?

Wed Apr 21, 2010 5:49 am
None that I am aware of since this is what I do myself without issue.

Note that it is better to use a version specific branch of Qt, eg: 4.6 or 4.7 instead of master.

Simply ensure that PATH and LD_LIBRARY_PATH are set to include your new Qt directory first and it should work fine. If compiling applications you may also wish to set CMAKE_PREFIX_PATH and PKG_CONFIG_PATH.

I recommend using the same Qt version to run all of your desktop apps ( as Qt is binary compatible, no sense in having multiple versions loaded at once ) so I set these vars in ~/.xinitrc before running startkde.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell