Results 1 to 7 of 7

Thread: Is 4.7.1 available for Linux?

  1. #1
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default 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

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default 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.

  3. The following user says thank you to Zlatomir for this useful post:

    MattPhillips (23rd February 2011)

  4. #3
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default 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:

    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
    Last edited by MattPhillips; 15th February 2011 at 04:16.

  5. #4
    Join Date
    Sep 2009
    Posts
    72
    Thanked 10 Times in 10 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default 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

    Qt Code:
    1. export QTDIR=/home/user/Qt4.7.1
    2. export PATH=$PATH:$QTDIR/bin
    To copy to clipboard, switch view to plain text mode 

  6. #5
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default 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.

  7. #6
    Join Date
    Sep 2009
    Posts
    72
    Thanked 10 Times in 10 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default 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

  8. #7
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default 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.
    Last edited by MattPhillips; 26th February 2011 at 01:08.

Similar Threads

  1. another ide on linux ?
    By hcetiner in forum Newbie
    Replies: 3
    Last Post: 13th May 2010, 14:38
  2. linux-ipaq-g++ Vs linux-arm-g++
    By alejo in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd February 2010, 00:23
  3. IDE for Linux
    By steg90 in forum Newbie
    Replies: 22
    Last Post: 15th July 2007, 15:27
  4. From MAC OS X to Linux
    By DoNaLd in forum Qt Programming
    Replies: 7
    Last Post: 7th July 2006, 19:46
  5. Linux API(?)
    By lszk in forum General Programming
    Replies: 2
    Last Post: 17th March 2006, 14:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.