Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application Compilation Issue usingQt 5.9.1 on Windows 10 with mingw32 compiler
Forum Updated to NodeBB v4.3 + New Features

Application Compilation Issue usingQt 5.9.1 on Windows 10 with mingw32 compiler

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 340 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.
  • N Offline
    N Offline
    narayanan.krish
    wrote on last edited by
    #1

    Hello all,

    I've installed Qt 5.9.1. SDK with both Mingw32 and MSVC 2017 compilers on Windows 10 64 bit machine (vmware).
    I'm able to compile and run example programs.

    Now, when I'm trying to build my application using mingw_32 compiler I'm getting lots of errors in Qt creator.

    The same application I'm able to compile and build on Linux without any issues. Also, I've removed all the Linux oriented part from the code.

    The errors are posted in the below link:

    https://pastebin.com/CRA2ce83

    Could someone please let me know if anyone has faced similar issue or fixed this ?

    Any help is greatly appreciated.

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

      Hi,

      Before digging deeper, why are you using an outdated version of Qt ? The Qt 5.9 series has gotten several releases and the current LTS is 5.12.

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

      N 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Before digging deeper, why are you using an outdated version of Qt ? The Qt 5.9 series has gotten several releases and the current LTS is 5.12.

        N Offline
        N Offline
        narayanan.krish
        wrote on last edited by
        #3

        @SGaist
        Hello,

        Thanks for the response. Since we have already developed our application using Qt 5.9, we are trying to port on windows with the same version. Also, as per your advice I will try to build in 5.12.

        But my concern is why I am not able to build my application when I am able to compile and build qt examples. Also I am also able to crate a new sample quick project and able to compile and run.

        Also, we are building shared library and linking with the application. The library is also created inside the project. Could that be a reason ?

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Make sure the correct gcc is picked up. Maybe there is an old one somewhere around in your PATH.
          Also you don't need to update to 5.12 but maybe try the latest 5.9 one.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          2

          • Login

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