Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Windows build problems

    General and Desktop
    windows 10 build qt 5.7 rc
    3
    5
    2254
    Loading More Posts
    • 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.
    • Ollie
      Ollie last edited by

      I'm getting these errors building qt5.7 on windows using the microsoft compiler

      Generating Code...
      link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.7 /MANIFEST:embed /OUT:....\lib\Qt5Guid.dll @C:\Users\Oliver\AppData\Local\Temp\nmAEE3.tmp
      LINK : fatal error LNK1104: cannot open file 'qtpngd.lib'
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\link.EXE"' : return code '0x450'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.

      It's a shadow build. With the following config

      ..\qt5\configure.bat -opensource -confirm-license -nomake tests -opengl desktop -skip qtwebkit -skip qtwebkit-examples -prefix d:\qt-opengl-64-rel-debug

      Cheers

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        If you don't have to build Qt by yourself you can install Qt 5.7 - it was officially released.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        Ollie 1 Reply Last reply Reply Quote 0
        • Ollie
          Ollie @jsulm last edited by

          @jsulm
          With 5.6 you needed to build if to enable the -opengl desktop option. I assume you still need to do this with 5.7.

          Cheers
          Ollie

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Hi,

            There's no need to rebuild Qt for that. By default Qt does auto-detection and loads the desktop backend if an adequate driver is available on the computer otherwise it loads the ANGLE backend however you can configure that per-application. See here for more information.

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

            Ollie 1 Reply Last reply Reply Quote 0
            • Ollie
              Ollie @SGaist last edited by

              @SGaist Yes I'll have another look at it. But when I was using 5.6 some of the OpenGL shader demos would not run under windows without a hand build Qt with the -opengl desktop option.

              I have built 5.7 from the same git branch under linux with no drama. I'll try and do another build on a clean windows machine (my build environment may not be in the best shape).

              Thanks.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post