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

activeqt wants to link to QtGuid and QtGui instead of QtGui4d and QtGui4

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 4.7.0
    • 4.7.0, 4.7.1, 5.0.0, Some future release
    • ActiveX Support
    • None
    • Windows, cmd.exe, mingw-w64/w32
    • 90bac7f779b642ef1db5363012a994784ad029c4

    Description

      happens when building a full Qt 4.7 git build.

      I also tried rerunning qmake on the said project file, but the problem persists. The linking to QtCore4 is correct.

      I believe it may be somewhere in the CONFIG += qaxcontainer that the wrong library is added.

      When I edited the dumpdoc.pro file to read:
      TEMPLATE = app
      CONFIG += console #qaxcontainer
      SOURCES += main.cpp

      I got the correct link flag (-lQtGui4d instead of -lQtGuid), but of course undefined references to the missing qaxcontainer library.

      This also happens with the dumpcpp project. The LIBS variable in the makefiles looks like this:
      LIBS = -L"m:\Development\x64\Qt\lib" -L"m:\Development\x64\Qt\lib" -lQAxContainerd -lQtGuid4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGuid -lQtCored4

      So with QtGui included twice, but QtGui once without version number. Both Makefile.Debug and *.Release have it.

      All subprojects involved:

      • /tools/activeqt/dumpdoc
      • /tools/activeqt/dumpcpp
      • /tools/activeqt/testcon
      • /examples/activeqt/webbrowser

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            rubenvb Ruben Van Boxem
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes