Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Latest Qt VS tools not finding Qt libs in static build?

Latest Qt VS tools not finding Qt libs in static build?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 843 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.
  • T Offline
    T Offline
    Taytoo
    wrote on last edited by
    #1

    My project uses static Qt build (5.15.19) and it was building fine using Qt VS Tools 3.2.0.47. Today I updated it to the latest version but now build is failing during the linking part with error:

    5> Qt/MSBuild: 3.4.0.1
    4> Qt: 5.15.19
    5>Reading Qt configuration (C:/Qt/Static/5.15.19/bin/qmake)
    4>LINK : fatal error LNK1104: cannot open file 'qtpcre2d.lib'
    4>Done building project "Project.vcxproj" -- FAILED.
    

    When I downgrade to Qt VS Tools 3.2.0.47, the project builds fine again. All paths and settings are correct in Qt VS tools, so what's going on? Am I missing something?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Taytoo
      wrote on last edited by
      #2

      Update: So was looking around and noticed that there are variables defined $(QMake_QT_INSTALL_LIBS_) etc that have No value associated with them. As you can see in macros list, I'm not seeing any macros with underscore (_) in their names. Anyone knows why?

      image.png

      1 Reply Last reply
      0
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Looking at the screenshot, I can see macros with underscore (_) in their names. for example $(QtCleaned_QtVars)

        1 Reply Last reply
        1
        • T Offline
          T Offline
          Taytoo
          wrote on last edited by
          #4

          Right..Yes, those are the only ones there, but nothing that starts with QMake_

          1 Reply Last reply
          0
          • hskoglundH Offline
            hskoglundH Offline
            hskoglund
            wrote on last edited by
            #5

            Maybe you can see them if you change the prefix $(QT in the top right corner

            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