You are not logged in.

#1 2013-08-11 16:11:06

tomisacat
Member
Registered: 2011-09-25
Posts: 43

QT Versions problem with QT Creator

My DE is KDE4.8 and when I install QT Creator it also install QT5, but when I use QT5's new syntax and want to compile it with QT5 library I got failed. In the project's manage kits interface I can only select the only choice QT4.8 library, NO QT5 library existed. Could anyone give me some tips?

Your answer will be appreciated.

Offline

#2 2013-08-12 06:22:54

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: QT Versions problem with QT Creator

Could anyone help me?

Offline

#3 2013-08-12 09:29:07

gs93
Member
Registered: 2012-10-19
Posts: 16

Re: QT Versions problem with QT Creator

I also had problems with setting a Qt version. I ended up with adding Qt4 (/usr/bin/qmake-qt4) and Qt5 (/usr/bin/qmake-qt5) manually to "Tools -> Options -> Build & Run -> Qt Versions" (and adding another kit).

Offline

#4 2013-08-12 15:58:19

tomisacat
Member
Registered: 2011-09-25
Posts: 43

Re: QT Versions problem with QT Creator

Thanks! Follow your step I also did it!

gs93 wrote:

I also had problems with setting a Qt version. I ended up with adding Qt4 (/usr/bin/qmake-qt4) and Qt5 (/usr/bin/qmake-qt5) manually to "Tools -> Options -> Build & Run -> Qt Versions" (and adding another kit).

Offline

#5 2013-08-14 21:41:09

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: QT Versions problem with QT Creator

tomisacat wrote:

Thanks! Follow your step I also did it!

gs93 wrote:

I also had problems with setting a Qt version. I ended up with adding Qt4 (/usr/bin/qmake-qt4) and Qt5 (/usr/bin/qmake-qt5) manually to "Tools -> Options -> Build & Run -> Qt Versions" (and adding another kit).

I've tried this, but I have some application that refuses to compile without the QtWidgets/QAction headers.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2013-08-15 02:40:02

diegoviola
Member
Registered: 2010-12-16
Posts: 134

Re: QT Versions problem with QT Creator

Deleted.

Last edited by diegoviola (2023-04-17 15:00:44)

Offline

#7 2013-08-15 12:51:00

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: QT Versions problem with QT Creator

diegoviola wrote:

Qt.

Get it right.

That's what the error message says, so it's supposed to be QtWidget/QtAction?
NVM...pacman -Ql qt4 shows that this is now QtGui/QAction.

Last edited by nomorewindows (2013-08-15 13:21:54)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB