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. First time installing, 5.12.1 + MinGW7.30-64, compile error

First time installing, 5.12.1 + MinGW7.30-64, compile error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 1.9k Views
  • 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.
  • V Offline
    V Offline
    VietThan
    wrote on last edited by
    #1

    Hi,

    I am a first time qt user, downloaded the qt-unified-windows-x86-3.0.6-online.exe for my qt installation (the open source one). I've installed ONLY MinGW7.30-64 from qt5.12.1 install selection + the default qt creator. (I used to click more stuff but in an attempt to narrow down the problem I've only installed this much). I am on Windows 10.

    If I make a new project, I will get the following in "General Message":

    Maybe you forgot to setup the environment?
    Error while parsing file C:\Users\Admin\Google Drive\Python\qt-test6\qt-test6.pro. Giving up.

    When I use command Ctrl+R on this new project, the following will appear in "Issue" :

    Cannot run compiler 'g++'.

    and more error message in "Compile Output":

    Maybe you forgot to setup the environment?
    22:01:24: The process "C:\Qt\5.12.1\mingw73_64\bin\qmake.exe" exited with code 3.
    Error while building/deploying project qt-test5 (kit: Desktop Qt 5.12.1 MinGW 64-bit)
    The kit Desktop Qt 5.12.1 MinGW 64-bit has configuration issues which might be the root cause for this problem.
    When executing step "qmake"
    22:01:24: Elapsed time: 00:00.

    Please help

    JKSHJ 1 Reply Last reply
    0
    • V VietThan

      Hi,

      I am a first time qt user, downloaded the qt-unified-windows-x86-3.0.6-online.exe for my qt installation (the open source one). I've installed ONLY MinGW7.30-64 from qt5.12.1 install selection + the default qt creator. (I used to click more stuff but in an attempt to narrow down the problem I've only installed this much). I am on Windows 10.

      If I make a new project, I will get the following in "General Message":

      Maybe you forgot to setup the environment?
      Error while parsing file C:\Users\Admin\Google Drive\Python\qt-test6\qt-test6.pro. Giving up.

      When I use command Ctrl+R on this new project, the following will appear in "Issue" :

      Cannot run compiler 'g++'.

      and more error message in "Compile Output":

      Maybe you forgot to setup the environment?
      22:01:24: The process "C:\Qt\5.12.1\mingw73_64\bin\qmake.exe" exited with code 3.
      Error while building/deploying project qt-test5 (kit: Desktop Qt 5.12.1 MinGW 64-bit)
      The kit Desktop Qt 5.12.1 MinGW 64-bit has configuration issues which might be the root cause for this problem.
      When executing step "qmake"
      22:01:24: Elapsed time: 00:00.

      Please help

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      @VietThan said in First time installing, 5.12.1 + MinGW7.30-64, compile error:

      I've installed ONLY MinGW7.30-64 from qt5.12.1 install selection + the default qt creator. (I used to click more stuff but in an attempt to narrow down the problem I've only installed this much).

      Scroll down to the bottom of the selection tree and expand "Tools" (the label might be a bit different in the latest installer). You must also install the MinGW 7.3.0 64-bit toolchain.

      See this tutorial for more details.

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

      1 Reply Last reply
      3
      • V Offline
        V Offline
        VietThan
        wrote on last edited by
        #3

        Hi,

        thank you for your response. Does that means the "Min GW 7.3.0 64" in the "Qt 5.12.1" section different from the one in the "Tools" section of the installation?

        Sincerely. Viet Than

        jsulmJ 1 Reply Last reply
        0
        • V VietThan

          Hi,

          thank you for your response. Does that means the "Min GW 7.3.0 64" in the "Qt 5.12.1" section different from the one in the "Tools" section of the installation?

          Sincerely. Viet Than

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @VietThan Yes. First is the Qt version (in this case Qt 5.12.1 built using Min GW 7.3.0 64 compiler), second one (in Tools) is the compiler itself. You always have to use same compiler which was used to build Qt. The reason is that different C++ compilers are not compatible with each other.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          3

          • Login

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