Is 4.7.1 available for Linux?
Hi,
When I download and install what is ostensibly the new (since Nov. 2010) 4.7.1 version of Qt, what QtCreator tells me it sees is version 4.7.0 (i.e. when I go to Manage Qt version under Build Settings). So, what version do I have? How can I get 4.7.1 for Linux, if it in fact exists? Thanks--
Matt
Re: Is 4.7.1 available for Linux?
The Qt SDK from here contains the built 4.7.0, you need to download the sources for 4.7.1 and build it yourself
Or try the new Qt SDK tech preview, here you can find download links for Linux, Windows and MacOs (this contains 4.7.1 for desktop and mobile, also 4.6.3 targeting Symbian can be installed to publish applications on Ovi)
This tech preview is somehow an "unified" Qt SDK with Nokia Qt SDK and you can install the Qt for desktop and for mobile with the same installer.
Re: Is 4.7.1 available for Linux?
Hi,
Yeah I don't know how I missed that, thanks. But now I have an even bigger problem: After installing, regardless of what version I choose (and I am now able to find 4.7.1), I get this error during compilation/linking:
make: ~/bin/uic: Command not found
make: *** [.uic/release-shared/ui_gui.h] Error 127
I googled this but what I found seemed to connect this to Qt3. When I tried to install it (apt-get) Ubuntu gave me:
Quote:
Package uic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package uic has no installation candidate
I have been using Qt 4.6, 4.7.0 etc on this platform to this point and I have never seen this error before. Know what's going on here?
Matt
Re: Is 4.7.1 available for Linux?
You need to export enviornement variable for ur new Qt installed directory in PATH enviornement variable and export QTDIR variable
Assume /home/user/Qt4.7.1 is ur currently installed Qt directory then execute below command
Code:
export QTDIR=/home/user/Qt4.7.1
export PATH=$PATH:$QTDIR/bin
Re: Is 4.7.1 available for Linux?
Hi,
Thanks for your suggestion. I tried exactly that, did cd $QTDIR to make sure I hadn't made any kind of a typo, opened qtcreator from within the same shell, and got the same errors as before. Ran a full 'clean' on the program first of course.
Re: Is 4.7.1 available for Linux?
Try this Qt Creator
Goto Tools --> Options
On Left menu click on "Qt4" and check for the configuration.
From this menu, you should be able to setup ur Qt configuration if not present
Re: Is 4.7.1 available for Linux?
Unfortunately, this seems to be configured correctly--4.7.1 is listed among the Qt Versions, with the proper location (bin/qmake) supplied for 'qmake Location'. In the text below, it says 'Found Qt version 4.7.1, using mkspec linux-g++-64 (Desktop)'
Matt
Update: I can successfully compile/run the default gui app in Qt (i.e., just a QMainWindow). So it's only certain libraries that bring this on.