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. Failing to build with 5.15.5 on Windows 10

Failing to build with 5.15.5 on Windows 10

Scheduled Pinned Locked Moved Unsolved General and Desktop
multimedia5.15msbuild
4 Posts 2 Posters 1.2k 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.
  • J Offline
    J Offline
    JRoperMedtronic
    wrote on last edited by
    #1

    Hello

    I'm fairly new to QT and have been working on building an application in 5.15.5 that has previously been working with 5.8. After fixing a few blockers with the build, I hard-coded the path for IDLXMLGEN to the dynamic directory (C:\Program Files\Qt\Qt5.15.5\5.15.5\msvc2019_64) in order to get from 99 errors down to 1 (LNK errors)

    Now that I've zero-d in on the error that's preventing this particular application to build (it has dependencies on QT as well as our greater project). Looks like MSBuild is looking for a file that doesn't exist in this directory.

    "c:\t\ourproject.sln" (default target) (1) ->
    "c:\t\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
    "c:\t\library\OurAppDir\OurApp.vcxproj.metaproj" (default target) (638) ->
    "c:\t\library\OurAppDir\OurApp.vcxproj" (default target) (639) ->
    (Link target) ->
      **LINK : fatal error LNK1181: cannot open input file 'C:\Qt\Static\qtbase\lib\Qt5MultimediaQuick_p.lib'** [c:\t\library\OurAppDir\OurApp.vcxproj]
    
        20 Warning(s)
        1 Error(s)
    

    The lib it's looking for doesn't exist in either the static or the dynamic directory.

    I read a suggestion to add an OBJECTS_DIR entry to the "pro" file but I don't know if we are building that or where it would be found. Pardon my ignorance.

    Thanks in advance

    -Jesse

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JRoperMedtronic
      wrote on last edited by
      #2

      As a logical next step, I tried replacing the reference to the Qt5MultimediaQuick_p with Qt5MultimediaQuick, which brings up a new error. Interestingly, the same error comes up if I remove the reference altogether:

      LINK : fatal error LNK1181: cannot open input file 'C:\Qt\Static\qtbase\lib\preprocessor.lib' [c:\t\library\translation\translation_tool.vcxproj]
      

      Am I missing something here? This seems like a core library

      1 Reply Last reply
      0
      • J Offline
        J Offline
        JRoperMedtronic
        wrote on last edited by
        #3

        Removing the reference to preprocessor.lib brings up an error on qtpcre.lib.

        Removing the reference to that file brings up an error on translator.lib

        If I remove that one, it opens the floodgates and gives me 1989 errors.. which is interestingly 1 less than a number of errors I had a few days ago as I've been debugging this.

        Hope this helps..

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Since 5.15.5 is a commercial version you should ask the Qt support for help.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved