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 building Qt 5.9.1 from source
Forum Updated to NodeBB v4.3 + New Features

Error building Qt 5.9.1 from source

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 777 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.
  • D Offline
    D Offline
    drmhkelley
    wrote on last edited by
    #1

    Not certain whether or not this is the correct topic for this question - let me know if it should go somewhere else

    I want to build Qt 5.9.1 from source, using recent version of MinGW (G++ 6.2.0) and followed the on-line instructions (for using built-in opengl, not ANGLE). The build failed while compiling component qwindowswindow.cpp (path doesn't matter) with error

    In file included from qwindowsintegration.cpp:75:0:
    ........\include\QtEventDispatcherSupport\5.9.1/QtEventDispatcherSupport/private/qwindowsguieventdispatcher_p.h:1:94:
    fatal error:
    ../../../../../src/platformsupport/eventdispatchers/qwindowsguieventdispatcher_p.h:
    No such file or directory
    #include "../../../../../src/platformsupport/eventdispatchers/qwindowsguieventdispatcher_p.h"

    The problem is one too many "../" in that include statement. Manually fixed it in "............../private/qwindowsguieventdispatcher_p.h" and now things are on track.

    Is there an "official" way to pass notice for this apparent Qt source bug?

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

      Hi,

      In what path did you install Qt ?
      In what path are you building Qt ?
      What parameters did you pass to configure ?

      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
      • D Offline
        D Offline
        drmhkelley
        wrote on last edited by
        #3

        I could provide that, but doubt it's relevant. Everything cranked along find until I found that anomaly. And after that, everything went fine until I bumped into some error making the qtlocation package. I just re-configured to skip that step. Won't know whether it all works or not til it either does or I hit some other glitch.

        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