On Fri, 4 Oct 2013 21:19:33 +0100 Srdjan Todorovic todorovic.s@googlemail.com wrote:
On 3 October 2013 11:28, Chris Walker cdw_alug@the-walker-household.co.uk wrote:
I'm using an IDE called Qt Creator but looking at the C++ stuff in it,
What's 'it' in this context?
My project within Creator.
it says that it can't find much of the inbuilt libraries. If I run
What's 'it' in this context?
The C++ code.
Are you trying to get Qt Creator to detect where your Qt libraries are so it knows how to build your project? In Qt Creator, Tools -> Options -> Build & Run.
I've set that so it knows where to look.
Check what Auto-detected contains. On my system this is empty.. Odd.
It is here too.
I have a manual entry, I believe you just browse to the the directory where qmake is installed and select qmake (may have to remove file filter and select the file in the dialog). Seems it somehow pulls out all relevant QT_* environment variables.
I'm running Qt Creator 2.7.0 which then says Based on Qt 5.0.2 (64 bit) but I've added Qt 4.8.3 as that's the latest version supported on Blackberry Playbook.
'echo$PATH', it's empty. But I've modified the ~/.bash_profile to look
In a terminal, type:
which qmake
It returns this:- [chris@localhost ~]$ which qmake /usr/bin/qmake
if it returns qmake, your path is probably correct.
OK.
I've got QtCreator pointing at /home/chris/qt/bin/qmake for the Playbook which is set under 'Kits'. Under Compilers, two are autodetected. They're in /usr/bin and are 32 bit and 64 bit. I have then added the 32 bit linux-generic under Manual.
So if the path is set correctly, I'm guessing I need to look elsewhere to see why Creator can't find the C++ libraries.
Thanks to you and Wayne for your help. I'll see what google says about fixing the libraries problem.