Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Moving from 5.6 to 5.10 - qmake yields "Project ERROR: Library 'vulkan' is not defined."
QtWS25 Last Chance

Moving from 5.6 to 5.10 - qmake yields "Project ERROR: Library 'vulkan' is not defined."

Scheduled Pinned Locked Moved Solved General and Desktop
11 Posts 2 Posters 2.9k 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.
  • V Offline
    V Offline
    VRHans
    wrote on last edited by
    #1

    I don't use Vulcan for anything. No changes except moving to using the new mkspec since the old names are no longer valid...

    C:\build>C:\Qt\5.10.0\msvc2015_64\bin\qmake -r -spec winrt-x64-msvc2015 "CONFIG+=release"
    Info: creating stash file C:\build.qmake.stash
    Project ERROR: Library 'vulkan' is not defined.

    This ring a bell with anyone?

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

      Hi,

      Winrt ?Are you sure ?

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

        The only mkspecs for vs 2015 that I see are:

        winrt-x64-msvc2015
        winrt-x86-msvc2015
        winrt-arm-msvc2015
        winrt-arm-msvc2015

        What did "win32-msvc2015" become?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRHans
          wrote on last edited by
          #4

          Well, I smartened up and used QtCreator to gen a project kit and read what it used.
          Apparently there's an all in one win32-msvc now.

          I presume that will resolve the issue...

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

            The mkspec is still there, however you have a 64bit version of Qt so it won't do you any good.

            Either use the VS2017 pre-built which is 32bit or build Qt for 32bit with VS2015. Note that VS2017 is backward compatible with VS2015 so you can stay with VS2015 while using the VS2017 pre-built Qt.

            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
            • V Offline
              V Offline
              VRHans
              wrote on last edited by
              #6

              win32-msvc is it now.

              1 Reply Last reply
              0
              • V Offline
                V Offline
                VRHans
                wrote on last edited by
                #7

                Weird... Builds most of the projects involved, but one project now breaks during complication with a bizarre error:

                "c:\qt\5.10.0\msvc2015_64\include\qtcore\qrandom.h(163): warning C4003: not enough actual parameters for macro 'min'"

                I recently updated my Visual Studio 2015 to Update 3 with Cumulative Servicing Release (because you MUST use this version of 2015 when building QtWebEngine.)

                I'm not using the build of Qt I made in any case, I'm using the 5.10 commercial download to migrate from 5.6 to 5.10. Later, after all the kinks are ironed out, I'll move to the 5.10 that I built from source.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VRHans
                  wrote on last edited by
                  #8

                  @VRHans said in Moving from 5.6 to 5.10 - qmake yields "Project ERROR: Library 'vulkan' is not defined.":

                  not enough actual parameters for macro 'min'

                  BTW, it builds just fine with the compiler if I use the 5.6 Qt framework...

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

                    Can you try to add DEFINES += NOMINMAX to your .pro file ?

                    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
                    1
                    • V Offline
                      V Offline
                      VRHans
                      wrote on last edited by
                      #10

                      @SGaist said in Moving from 5.6 to 5.10 - qmake yields "Project ERROR: Library 'vulkan' is not defined.":

                      DEFINES += NOMINMAX

                      Will do. I'm not sure it's the primary issue as a whole raft of errors follow that one.

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        VRHans
                        wrote on last edited by
                        #11

                        Worked... Weird. I would guess that the relative inclusion of "windows.h" somewhere along the way has changed in order to make that an issue.

                        Thanks for the tip!

                        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