Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10347

link_prl removes quotes from QMAKE_PRL_LIBS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 4.6.2
    • Build tools: qmake
    • None
    • windows 7, msvc2008 express, qt 4.6.2 sdk for windows

    Description

      mylib is a static lib with a prl file :

      mylib.pro
      CONFIG += create_prl
      win32 {
          LIBS += $$quote(F:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\setupapi.lib)
      }
      

      the prl file look ok :

      mylib.prl
      QMAKE_PRL_LIBS = "F:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\setupapi.lib"
      

      Using mylib in myapp :

      myapp.pro
      CONFIG += link_prl
      LIBS += -lmylib
      

      the makefile is ok except for the quotes :

      Makefile.Debug
      LIBS = mylib.lib F:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib\setupapi.lib
      

      LINK : fatal error LNK1181: impossible d'ouvrir le fichier en entrée 'Files\Microsoft.obj'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            ctrlbrk Raphael Francois
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes