Results 1 to 7 of 7

Thread: QT Creator - QT Installation, Setup, Config, Compilers & kits oh my!

  1. #1
    Join Date
    Mar 2014
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows Android

    Default QT Creator - QT Installation, Setup, Config, Compilers & kits oh my!

    Hi All,

    Well after a day and a half of frustration, I hope this is the right place for this newbie help request...
    I guess the first thing I would like to sort out, is the setup for an "hello world" program. How do i set compiler and debuger in kits? how do i associate kit to project?

    1.jpg2.jpg
    (btw- as u can see, compiler option is grayed out for default kit)
    I have visual studio 2013 installed & 2010 installed. windows 8.1 64 bit machine.

    "qt-opensource-windows-x86-msvc2012_64-5.2.1.exe" is the offline prebuilt installation i downloaded and installed.

    TX for your help.
    Last edited by SenseTech; 11th March 2014 at 23:36.

  2. #2
    Join Date
    Feb 2014
    Location
    Romania
    Posts
    25
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: QT Installation, Setup, Config, Compilers & kits oh my!

    Hi,

    Hope it may help you:

    - Install Qt Library

    - Install Visual Add-In to use the Visual Studio as the Develop Environment

    -Create environment variable to
    Variable: QTDIR
    Value: C:\Qt\5.2.0\msvc2010

    Sorry if I misunderstood your scenario.

    Happy codding!

  3. #3
    Join Date
    Mar 2014
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: QT Installation, Setup, Config, Compilers & kits oh my!

    tx for the response...

    But i dont think this is the scenario...

    I am trying to work with QT Creator, not QT libs and add in.

  4. #4
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: QT Installation, Setup, Config, Compilers & kits oh my!

    SenseTech, I can see your installation is complete. Now is the time to run your first application. Select New Project from File menu and choose Qt Widgets Application, then choose the path and MainWindow application. Finally build & run.

    If it detects a compiler, then it should open a blank window (QMainWindow). If not it complains with some error messages and in this case, copy the error messages & paste it here in between [ CODE] [/CODE ] tags. So that folks here may have some clue to guess what's happening in your side.

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QT Installation, Setup, Config, Compilers & kits oh my!

    You have to match a C++ compiler/toolchain to a set of compatible Qt libraries in order to make a Kit. You then associate one or more Kits to your project from the Projects panel.

    You have Visual Studio 2010 and 2013 installed and you have downloaded a bundle containing Qt libraries for Visual Studio 2012, so the first step will be difficult. To use the VS2013 compiler or VS 2010 for 64-bit you will have to build Qt from sources for yourself (unless there are unofficial binaries out there).

  6. #6
    Join Date
    Mar 2014
    Posts
    3
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: QT Creator - QT Installation, Setup, Config, Compilers & kits oh my!

    @Chris

    Ty,

    well, I downloaded Qt MSVC10 32 bit installation and am able to compile and run some cute code now .
    I guess the only drawback is that it is built for 32 bit.

    If I understood you correctly, then my alternatives are:
    1) download MSVC2012 compiler.
    2) Build Qt with msvc10 or msvc13.

    I rmmbr a traumatic time trying to build the OpenCV source and eventually used the prebuilt libs instead, any major drawbacks this way?

    I have some more question, I hope anyone would care to answer,
    1) what is the prebuilt Qt version with MinGw? would I then have to build OpenCV with MinGw too?
    2) What is the prebuilt Qt version with OpenGL?
    3) How do i configure and make use of a debugger within Qt creator?

    TX all!!

  7. #7
    Join Date
    Dec 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: QT Creator - QT Installation, Setup, Config, Compilers & kits oh my!

    HI, I too am having issues since I installed the VS 2013 addin.

    I can use visual studio to compile and create Qt apps...no issue there.

    However, I normally use Qt Creator to make Android and Linux apps ( cross compiled ). This functionality isn't easily available on VS 2013.

    My issue is that upon a virgin instal of Qt 5.3 and Qt Creator, the default "kits" are my detected GCC, CYGWIN and MinGW kits ( pre installed ).

    Since adding the VS 2013 add-in they have disappeared.

    How do I get them back ?

    Best Regards

Similar Threads

  1. Replies: 0
    Last Post: 28th August 2013, 13:59
  2. Replies: 3
    Last Post: 24th December 2012, 14:00
  3. Replies: 3
    Last Post: 27th September 2011, 07:42
  4. Replies: 0
    Last Post: 15th March 2011, 19:27
  5. Replies: 2
    Last Post: 9th October 2010, 06:34

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.