Results 1 to 2 of 2

Thread: Different versions of Qt and Qt Creator

  1. #1
    Join Date
    Mar 2010
    Location
    Auckland, NZ
    Posts
    121
    Thanks
    9
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Different versions of Qt and Qt Creator

    I am using Qt Creator 3.1.0, which is based on Qt 5.2.1 (MSVC 2010, 32 bit), with Qt 4.8.6, which I built with MSVS11, 32 bit.
    I can add a QComboBox widget to my ui, but when I try to compile I get this error:

    D:\spheroid-abm\build-spheroid_GUI-static\ui_spheroid_GUI.h:2577: error: C2039: 'setCurrentText' : is not a member of 'QComboBox'

    Does this mean that I have to revert to a version of Qt Creator built with Qt 4? (I want to stick with Qt 4.8 for now.) If so, how can I obtain Qt Creator based on Qt 4.8? The downloadable versions that I've found are all 3.1.0.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Different versions of Qt and Qt Creator

    QtCreator can deal with any compiler/Qt combination.

    But these combinations, called "kits" need to be configured.

    Tools -> Options -> Build & Run.
    Configure a compiler, configure a Qt version, combine both in a new Kit, use that kit when configuring the project.
    http://qt-project.org/doc/qtcreator-...d-run-settings

    Cheers,
    _

Similar Threads

  1. Multiple Versions of Qt
    By suslik in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2012, 00:37
  2. Uninstall Old Versions of Qt?
    By kwire in forum Installation and Deployment
    Replies: 2
    Last Post: 12th February 2012, 15:30
  3. Multiple Qt Versions on OS X?
    By rickbsgu in forum Installation and Deployment
    Replies: 2
    Last Post: 6th September 2010, 20:17
  4. QProcess with different versions of Qt
    By mclark in forum Qt Programming
    Replies: 2
    Last Post: 28th December 2007, 00:33

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.