Error building Qt 5.9.1 from source



  • 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?


  • Lifetime Qt Champion

    Hi,

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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.