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.4.1 compiler can't be found
Forum Updated to NodeBB v4.3 + New Features

Qt 5.4.1 compiler can't be found

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 1.8k 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.
  • O Offline
    O Offline
    Omri
    wrote on last edited by
    #1

    hello,
    i have just installed Qt version 5.4.1 and cannot run anything because it does not recognize any compiler. how can i install any compiler(prefferable GCC) and make it relevant for Qt? thanks.

    K 1 Reply Last reply
    0
    • O Omri

      hello,
      i have just installed Qt version 5.4.1 and cannot run anything because it does not recognize any compiler. how can i install any compiler(prefferable GCC) and make it relevant for Qt? thanks.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Omri
      Depending on OS you have to install the compiler seperately.
      Which OS are you using?
      Is GCC already installed?

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

      1 Reply Last reply
      0
      • O Offline
        O Offline
        Omri
        wrote on last edited by Omri
        #3

        I have windows 7 and MinGW is installed..it writes it down in the compilers though doesn't recognize it. what can i do? thank you.

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

          Under "Tools"->"Options" there is "Build&Run" use the "Compilers" tab and add the compiler by selecting the bin folder where the compiler is stored. This is probably c:\Qt\Tools\MinGW???????\bin\g++.exe.
          You might have to do some changes also for "Kits", "Qt Versions" and "Debuggers". Check those tabs, if there is an attention sign or something else.

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

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Omri
            wrote on last edited by
            #5

            i can see what you said already in the compilers and the path you said is written automatically.
            in the QT versions and kits i can see an attention and sign and it's written down(under the qmake location):"No compiler can produce code for this Qt version. please define one or more compilers."
            thanks.

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

              Apparently, you have not chosen a compatible Qt libs version. The libraries are dependent on different compilers. Therefore, you have to install the MinGW version.

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

              1 Reply Last reply
              1
              • O Offline
                O Offline
                Omri
                wrote on last edited by
                #7

                your were right now it works thanks a lot!!!

                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