Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building and Compiler?
Forum Updated to NodeBB v4.3 + New Features

Building and Compiler?

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 4 Posters 1.6k 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.
  • K Offline
    K Offline
    Kiatro
    wrote on last edited by
    #1

    I am very new to the Qt framework and it is my first time actually downloading this SDK and I have come upon an error.

    After looking on documentation on this framework online I had made a very simple Gui program with this SDK and I was trying to run it when it gave me an error:

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

    When I installed this program I thought it defined a compiler but something must have gone wrong, so I went into the settings and I was faced with this:

    Kits: !http://i.imgur.com/1RiCTgL.png(kits)!

    Versions: !http://i.imgur.com/NCW8eNy.png(versioins)!

    Compilers: !http://i.imgur.com/qVxHzLV.png(compilers)!

    It hadn't seen to detect any of my kits or compilers and every time I try and create new ones they either aren't compatible with the version of make hundreds of errors while building simple .cpp's.

    Can someone please run me through how to successfully setup kits and compilers with the SDK because I am getting no where:c

    An example of a compiler error:

    ":-1: error: Symbolic links not supported: disabling -L."

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Do you have 64 bit MS Visual Studio installed? It ships with the compiler you need.

      (Z(:^

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        welcome to devnet

        This could be a problem of mismatch between downloaded versions and teh compilers installed.
        What compilers do you have installed?
        What is the actual pre-build version you have installed?

        Vote the answer(s) that helped you to solve your issue(s)

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

          This should be enough for compiling with your Qt package version:
          "MSVC2012 Express for Desktop":http://www.microsoft.com/en-us/download/details.aspx?id=34673

          But for beginners i'd recomend use:
          "Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) ":http://download.qt-project.org/official_releases/qt/5.1/5.1.0/qt-windows-opensource-5.1.0-mingw48_opengl-x86-offline.exe
          which contains all nessesary tools inside.

          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