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

qmake create faulty Link->AdditionalDependencies entries in Visual Studio project file if we use the modules "axcontainer", "axserver" or "uitools" in *.pro file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.3.1
    • None
    • Windows 8.1 Pro, Visual Studio 2013 Update 3 (Since it is a fundamental problem, the error should occur regardless.)

    Description

      Hi guys,

      I compiled Qt 5.3 myself and used a --prefix option to set the install directory. (C:\Qt5)
      This worked so far using nmake and nmake install.

      Since we are sharing that compiled version in our company to other developers and not every
      developer got the same directory structure we changed the path in qt.conf to D:\Source\Qt5 for
      some systems.

      Everything works excepts for project files that contain "QT +=" qaxcontainer, axserver or uitools. In this case Qt generates
      a project file that sets the "AdditionalDependencies" to "C:\Qt5" and "D:\Source\Qt5". After manually
      removing that first one, the project is correctly configured.

      I tested this also with the modules concurrent, designer, help, multimedia, multimediawidgets, network, opengl, printsupport, qml, quick, sql, sql, testlib, webkit, webkitwidgets, widgets, winextras, xml, xmlpatterns and everything was correct. For these modules only "D:\Source\Qt5" was used. The result of qmake -query only shows the "D:\Source\Qt5" so
      I really don't get why project files with "axcontainer", "axserver" and "uitools" are still using the old path also.

      You have also the same problem when using the online installer and change during installation the install path to D:\Qt5.

      Attachments

        1. qt.conf
          0.0 kB
        2. qt5-link-error.png
          qt5-link-error.png
          19 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              rg Rudolf Grauberger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes