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

Start Qt apps development?

Tags: None
(comma "," separated)
KarlisRepsons
Registered Member
Posts
42
Karma
0

Start Qt apps development?

Tue Mar 23, 2010 8:07 am
What normally needs to be installed in addition to running KDE with Qt to start Qt application development?
Qt downloads page offers me some ugly bin file, but where is an archive of sources, examples etc? What gitorious repository contains? Thanks...


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

Re: Start Qt apps development?

Tue Mar 23, 2010 8:11 am
If you are using distribution packages, they will usually have packages such as libqt4-devel and libqt4-examples which contain the content of those folders.

You can find the Qt gitorious repository at http://qt.gitorious.org/qt/ and it can be cloned from git://gitorious.org/qt/qt.git


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
KarlisRepsons
Registered Member
Posts
42
Karma
0

Re: Start Qt apps development?

Tue Mar 23, 2010 10:28 am
I'm on gentoo, portage doesn't seem to contain any such packages, so I guess, I'll have to install on my own... From some stable branch of repository, right?


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

Re: Start Qt apps development?

Wed Mar 24, 2010 12:26 am
Yes, the 4.6 branch is the current latest stable release, and will form Qt 4.6.3 when released.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
KarlisRepsons
Registered Member
Posts
42
Karma
0

Re: Start Qt apps development?

Thu Mar 25, 2010 10:07 am
Could you please post a list of commands to get and install the 4.6 branch? I seemed to get until compiling, but then things fell apart on some opengl error, so I'm confused if I did something wrong with git or not... The master branch compiled and installed just fine...


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

Re: Start Qt apps development?

Fri Mar 26, 2010 3:10 am
Did you start with a fresh build directory when building 4.6?

You will need to start with a clean build directory if you switch the branch of Qt you are using ( ie. from master to 4.6 ).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
KarlisRepsons
Registered Member
Posts
42
Karma
0

Re: Start Qt apps development?

Fri Mar 26, 2010 9:53 am
bcooksley wrote:Did you start with a fresh build directory when building 4.6?

You will need to start with a clean build directory if you switch the branch of Qt you are using ( ie. from master to 4.6 ).

Sorry: what do you mean by "fresh"? Well, I just did:
make clean
make confclean
as well as checking out the right branch (who knows if in the right way)...


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

Re: Start Qt apps development?

Fri Mar 26, 2010 9:57 am
Fresh build directory means that you deleted everything in it, reconfigured Qt then built it again.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
KarlisRepsons
Registered Member
Posts
42
Karma
0

Re: Start Qt apps development?

Fri Mar 26, 2010 10:00 am
bcooksley wrote:Fresh build directory means that you deleted everything in it, reconfigured Qt then built it again.

What, $ rm qt && git clone ... ? Or just rm all besides .git?


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

Re: Start Qt apps development?

Fri Mar 26, 2010 10:44 am
No... did you use a seperate build directory? If you didn't it will be harder to fix, but removing the "include/" directory then running "git reset --hard" should be sufficient... then re-run configure, make, etc.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
note173
Registered Member
Posts
9
Karma
0
OS

Re: Start Qt apps development?

Mon Apr 19, 2010 10:30 am
on gentoo you already have all the development stuff for any package you've installed

you already have qt and kde compiled from sources


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]