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. Qt 5.0.2 how to set kit and compiler
Forum Updated to NodeBB v4.3 + New Features

Qt 5.0.2 how to set kit and compiler

Scheduled Pinned Locked Moved Installation and Deployment
17 Posts 4 Posters 32.5k 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.
  • T Offline
    T Offline
    tobias.hunger
    wrote on last edited by
    #7

    Ok, so we get the first useful piece of information: You are indeed using a MSVC Qt flavor.

    You need MSVC 2012 from Microsoft to work with that version of Qt. Do you have that installed?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hadi
      wrote on last edited by
      #8

      thanks...Tobias Hunger
      no i don't but i have installed visual studio.net 2010 ...
      as i know , some compilers will install automatically when we install microsoft visual studio.net but
      do you mean that i must install microsoft MSVC 2012 and then try to identify it for qt compiler manager and then run my application?
      also i am looking for a perfect tutorial for managing compilers and ... in kits,qt versions,compilers tabs to build and run a project...thx

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #9

        As I said before: You need the same version of the same compiler that was used to build Qt. So, yes, you will need MSVC 2012 with that version of Qt. You could also download Qt built with MSVC 2010 though.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Hadi
          wrote on last edited by
          #10

          thanks...a lot...,is it necessary to identify the msvc 2012 in qt build and run options after installing msvc?
          i guess that you mean installing the compiler is like installing exe files...

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #11

            Installing the compiler like downloading visual studio (or whatever else contains the compiler, I don't use windows too often;) and installing it.

            Creator will pick up MSVC installations automatically. You might need to check the kits and set the compiler there though.

            For android you will need to install the Android NDK and related stuff as well as a Qt version for android. There are howtos in the wiki about how to set it all up.

            1 Reply Last reply
            0
            • H Offline
              H Offline
              Hadi
              wrote on last edited by
              #12

              thank you tobias...

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Hadi
                wrote on last edited by
                #13

                hi beginners
                i have solved my problem...
                for solving the compiler trouble and adding it for beginners in Qt field,i must say that by installing microsoft visual studio.net 2012 ,this problem will be solved...and you can export and run your application by qt 5.0.2 64bit msvc 2012 version...so bear in mind that it's better to install visual studio.net beside qt msvc version...because it automatically installs all of compilers and kits that qt needs in 64bit msvc version...good luck..

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #14

                  Also make sure to install the Microsoft debugging tools if the debugger does not work. They used to come as a separate package a while back.

                  Alternatively you can just install Qt built with mingw: That comes with a compiler and debugger as part of the package.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    Hadi
                    wrote on last edited by
                    #15

                    tnx ... I will surely do it.... but i think mingw is just for win32bit yet not for 64 bit!!!my win version is win 7 64bit...

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      Rais Husainov
                      wrote on last edited by
                      #16

                      Ubuntu 13.04., QT5.0.2. problems with gcc correct startig up (in Ubuntu the newest vertion gcc 4.7 installed). In "Parameters" -> "compiler" in auto detecting there is not any compiler and there is not possibility to define it, only at next submenu. And as a result after trying to compile usual console c++ application "Hello World" we see the message : g++ error : not find a file... (something about it)

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Rais Husainov
                        wrote on last edited by
                        #17

                        Sorry for my message not for this question. (i didnt know rules can i ask my question. Later on decided my problem in correct way.)
                        best regars,
                        Rais.

                        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