You are not logged in.

#1 2013-03-04 09:54:28

rogorido
Member
Registered: 2009-08-17
Posts: 115

[solved] Compile qt4 programs with qtcreator after update to qt5

Hi,

in the last weeks I war learning for the first time to program in Qt (Qt4). After the change to qt5, I am a little lost what I have to configure in qtcreator in order to compile my small programs as Qt4-programs.

Any hints?

thanks in advance!

Last edited by rogorido (2013-03-04 11:12:46)

Offline

#2 2013-03-04 10:17:10

harbind
Member
Registered: 2009-05-08
Posts: 22

Re: [solved] Compile qt4 programs with qtcreator after update to qt5

In Build&Run options add new Qt version and create Kit based on that. qmake binary you need to add is /usr/bin/qmake-qt4 (filter enabled it shows only qmake and qmake4 so remove that filter).

Offline

#3 2013-03-04 11:12:32

rogorido
Member
Registered: 2009-08-17
Posts: 115

Re: [solved] Compile qt4 programs with qtcreator after update to qt5

harbind wrote:

In Build&Run options add new Qt version and create Kit based on that. qmake binary you need to add is /usr/bin/qmake-qt4 (filter enabled it shows only qmake and qmake4 so remove that filter).

Thanks. I think it is working now, although I have to check this Kit configurations a little more because I don't understand them completely.

Offline

Board footer

Powered by FluxBB