Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. VS Compiler and Qt Creator

VS Compiler and Qt Creator

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pars99
    wrote on last edited by
    #1

    I'm fairly new at this and am encountering a problem. I've been using Visual Studio Express and Visual Studio Professional (trial) but I don't know how to link their compiler(s) to Qt Creator. I've programmed in C++ before, it being my main language, I only had some trouble setting up Qt.

    @:-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.@

    [EDIT]: Thank you, qzox, for the edited title of this thread.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Hi pars99.
      Welcome to devnet.
      First of all you need change title of thread, for example:
      "Set compiler for QtCreator " or "VS compiler and QtCreator" or other more relevant to question title.
      And about your question. What version of Qt you have install?
      Take a look to this "doc":http://doc.qt.digia.com/qtcreator-2.1/creator-project-qmake.html

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        [quote author="qxoz" date="1374607392"]Take a look to this "doc":http://doc.qt.digia.com/qtcreator-2.1/creator-project-qmake.html[/quote]That documentation is far too old; Qt Creator has changed to a new kit system now.

        pars99, you need to perform two steps:

        "Set up your compiler":http://qt-project.org/doc/qtcreator-2.8/creator-tool-chains.html, and then

        "Set up your kit":http://qt-project.org/doc/qtcreator-2.8/creator-targets.html

        [quote author="qxoz" date="1374607392"]And about your question. What version of Qt you have install? [/quote]Yes, this is important. Which package did you download?

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pars99
          wrote on last edited by
          #4

          bq. Yes, this is important. What package did you download?

          I downloaded Qt version 5.1, MinGW (32-bit). Though I did recently download VS Studio Express 2012 and VS Studio Professional (TRIAL)...

          bq. First of all you need change title of thread, for example:
          “Set compiler for QtCreator “ or “VS compiler and QtCreator” or other more relevant to question title.

          Okay, thank you. I will try to make my post titles more relevant next time. I have visited a number of forums and have realized that people won't usually view my post and/or answer it when I post the specifics. That's why I titled it so broadly.

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            [quote author="pars99" date="1374636683"]I downloaded Qt version 5.1, MinGW (32-bit). Though I did recently download VS Studio Express 2012 and VS Studio Professional (TRIAL)...[/quote]If you downloaded the MinGW package, then you'll need to use the MinGW compiler -- the binary files are incompatible with Visual Studio's compiler. Make sure you asked the installer to install MinGW too.

            By the way, VS Express and VS professional use the same compiler -- the difference between them is that Professional provides a more powerful IDE.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved