Can't build Qt 5.3 with mingw and ANGLE on Windows SDK 8.1



  • I get this error during configure stage:

    @Running configuration tests...
    WARNING: The DirectX SDK could not be detected:
    The library 'd3d9.lib' could not be found.
    Disabling the ANGLE backend.

    WARNING: Using OpenGL ES 2.0 without ANGLE.
    Specify -opengl desktop to use Open GL.
    The build will most likely fail.
    (Press any key to continue...)@

    My config script is:

    @set PATH=c:\Qt\qt-src-5.3.0\qtbase\bin;c:\Qt\qt-src-5.3.0\qtrepotools\bin;c:\Qt\qt-src-5.3.0\gnuwin32\bin;c:\mingw32\bin;%PATH%
    configure.bat -platform win32-g++ -opensource -static -qt-sql-sqlite2 -qt-zlib -no-icu -no-gif -qt-libpng -qt-libjpeg -no-openssl -no-dbus -nomake examples -skip qtwebkit -skip qtwebkit-examples
    @

    I install WIn8.1 SDK (which includes DX SDK). How I can provide valid path to Win 8.1 SDK during configuration.


  • Lifetime Qt Champion

    Hi,

    To add path for headers to the configure script you can use -I C:/Path/to/DX_SDK/Headers and -L C:/Path/to/DX_SDK/libs


Log in to reply
 

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