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. error: Cannot run compiler 'g++'. Output:
Forum Updated to NodeBB v4.3 + New Features

error: Cannot run compiler 'g++'. Output:

Scheduled Pinned Locked Moved Solved Installation and Deployment
14 Posts 3 Posters 3.4k Views 2 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by sierdzio
    #2

    Why aren't you using the default compiler that comes with your installation? Seems to me that you're mixing a 32 bit Qt build with 64 bit compiler - maybe that is the problem.

    Hm or maybe you're not mixing it. Not sure, I haven't used WIndows in a long while, perhaps the 32 / 64 tags are just misleading me.

    What does tootip say when you hover over the yellow warning sign in your second screenshot?

    (Z(:^

    1 Reply Last reply
    3
    • ashajgA Offline
      ashajgA Offline
      ashajg
      wrote on last edited by
      #3

      hi @sierdzio

      0_1551871475264_22b97d51-e831-4f3b-b404-878142e0d3bf-image.png

      1 Reply Last reply
      0
      • ashajgA Offline
        ashajgA Offline
        ashajg
        wrote on last edited by
        #4

        When I installed my build setup was like this:

        0_1551871575845_4c79a16a-a97b-4971-b2d9-3f66f0e210ef-image.png

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

          OK, go back to Qt Maintenance Tool, and add MinGW 64 bit (it's in Tools section if I remember it well, near where Qt Creator is). Also, while you're at it, update to Qt 5.12.1, it's a much better release.

          (Z(:^

          1 Reply Last reply
          3
          • ashajgA Offline
            ashajgA Offline
            ashajg
            wrote on last edited by
            #6

            ok thanks I ll do it..

            1 Reply Last reply
            0
            • ashajgA Offline
              ashajgA Offline
              ashajg
              wrote on last edited by ashajg
              #7

              hi @sierdzio
              0_1551872157524_5d295d24-b410-48e6-af99-e34d2f91c51a-image.png

              MinGW7.3.0 64 is already installed

              0_1551872287467_373802b8-3331-4f07-a430-31c6da5eabf7-image.png

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

                Hm, then it should just work :/ Try reinstalling perhaps?

                (Z(:^

                1 Reply Last reply
                0
                • ashajgA Offline
                  ashajgA Offline
                  ashajg
                  wrote on last edited by
                  #9

                  Its the second time I reinstalled it...
                  Is it because of environment variables or something...?

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

                    No idea, sorry.

                    (Z(:^

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Hi,

                      Did you try to install both 32 and 64 bit versions ?

                      There might have been an error in the installer text.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1
                      • ashajgA Offline
                        ashajgA Offline
                        ashajg
                        wrote on last edited by
                        #12

                        @SGaist I ll try installing Mingw 7.3.o 32-bit and 64 bit both..

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by SGaist
                          #13

                          At the same time ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • ashajgA Offline
                            ashajgA Offline
                            ashajg
                            wrote on last edited by
                            #14

                            hi guys finally I got success in installing Qt on my PC
                            Just created new folder and installed all versions of MinGW from Developer and Designer Tools and its working now.. Thanks for help :)

                            1 Reply Last reply
                            1

                            • Login

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