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. Static compilation. Qt 5.12.3, Win10, MinGW.
Forum Updated to NodeBB v4.3 + New Features

Static compilation. Qt 5.12.3, Win10, MinGW.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 709 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.
  • Folco85F Offline
    Folco85F Offline
    Folco85
    wrote on last edited by
    #1

    Hi gentelmen,

    I'm using Windows 10 x64, Qt 5.12.3, MinGW 7.30 (32 bits).

    I'm trying to build Qt statically, using this guide: https://wohlsoft.ru/pgewiki/Building_static_Qt_5
    Setup is ok, but when compiling, I get tons of:

    ..\..\..\..\include\QtWindowsUIAutomationSupport\5.12.3/QtWindowsUIAutomationSupport/private/qwindowsuiawrapper_p.h:1:10: fatal error: ../../../../../src/platformsupport/windowsuiautomation/qwindowsuiawrapper_p.h: No such file or directory
    

    Searching the bug tracker, I found that: https://bugreports.qt.io/browse/QTBUG-68502?focusedCommentId=406323&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
    Sadly, no information is given to fix the problem.

    Could someone help me to fix this please? Thanks in advance!

    N 1 Reply Last reply
    0
    • N Offline
      N Offline
      Nagllort
      wrote on last edited by Nagllort
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • Folco85F Folco85

        Hi gentelmen,

        I'm using Windows 10 x64, Qt 5.12.3, MinGW 7.30 (32 bits).

        I'm trying to build Qt statically, using this guide: https://wohlsoft.ru/pgewiki/Building_static_Qt_5
        Setup is ok, but when compiling, I get tons of:

        ..\..\..\..\include\QtWindowsUIAutomationSupport\5.12.3/QtWindowsUIAutomationSupport/private/qwindowsuiawrapper_p.h:1:10: fatal error: ../../../../../src/platformsupport/windowsuiautomation/qwindowsuiawrapper_p.h: No such file or directory
        

        Searching the bug tracker, I found that: https://bugreports.qt.io/browse/QTBUG-68502?focusedCommentId=406323&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
        Sadly, no information is given to fix the problem.

        Could someone help me to fix this please? Thanks in advance!

        N Offline
        N Offline
        Nagllort
        wrote on last edited by
        #3

        @Folco85

        Try to change the '\' in QtStaticDir, on '/'

        1 Reply Last reply
        1
        • P Offline
          P Offline
          porcupinebrux
          wrote on last edited by porcupinebrux
          #4

          Changing the '\' to '/' in QtStaticDir (e.g. from C:\Qt\5.13.0\mingw73_64_static to C:/Qt/5.13.0/mingw73_64_static) did not work for me.
          I'm having the same problem using Windows 10 x64, Qt 5.13.0 and MinGW 7.30 64-bit
          So we have established that the problem is not specifically with the 5.12.3 version of Qt (5.13 is affected too), nor the 32-bit version of MinGW (the 64-bit version is affected too).

          It is unfortunate that the bug report in bug tracker was closed (twice!):
          https://bugreports.qt.io/browse/QTBUG-68502
          https://bugreports.qt.io/browse/QTBUG-72585
          The claim by the person who closed it was that this is not a Qt problem. There is clearly an issue with the way Qt sources interact with the compiler that Qt is distributing, affecting users who follow the instructions on static builds that are given on the official Qt website: this sounds a "Qt problem" to me, even if "it's someone else's fault".

          I'll keep trying to find a solution and post back here.

          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