You are not logged in.

#1 2013-03-04 16:46:27

dandaman0061
Member
From: Boise, ID
Registered: 2009-05-06
Posts: 12

qtcreator not finding examples from qt5-doc

Not a huge deal, but after doing the qt upgrade, qtcreator's welcome menu>examples tab doesn't find any of the installed examples.  I looked to see if I could see the path it was using to find the examples, but couldn't find anything.  I do have qt5-doc installed which is the optional dep suggested on qtcreator to provide the examples.

Thanks!
Danny G

Offline

#2 2013-03-04 16:53:06

dandaman0061
Member
From: Boise, ID
Registered: 2009-05-06
Posts: 12

Re: qtcreator not finding examples from qt5-doc

It also looks like the editor does not have the correct paths setup for the #include autocompletion and finding.  I'll dig around a bit more as far as specifying the Qt path.

Offline

#3 2013-03-04 17:52:48

dandaman0061
Member
From: Boise, ID
Registered: 2009-05-06
Posts: 12

Re: qtcreator not finding examples from qt5-doc

As far as the include paths...

qtcreator specifically was having trouble finding #include <QApplication> - I found these threads detailing differences between qt4 & 5

http://qt-project.org/wiki/Transition_f … 4.x_to_Qt5
http://qt-project.org/forums/viewthread/23119

Adding the QT += widgets allowed qtcreator to find the QApplication header

Offline

Board footer

Powered by FluxBB