Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-165

QtPropertyBrowser doesn’t compile as DLL (win32/VS/Qt5.0.0)

    XMLWordPrintable

Details

    • qtbase: 489d8a0627c46092d20f476d5521ecafd42e5ce5

    Description

      When compiling the QtPropertyBrowser component as a DLL (configure -library), compilation fails using the latest Qt 5.0.0 and QtSolutions master.

      Reason for that:

      In “qtpropertybrowser\buildlib\buildlib.pro”:

      CONFIG += qt dll qtpropertybrowser-buildlib

      In “qtpropertybrowser\src\qtpropertybrowser.pri”:

      win32 { contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTPROPERTYBROWSER_EXPORT else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT
      }

      it relies on the “shared” keyword, which is not defined in the .pro file (“dll” is defined), so I guess one could change it to:

      win32 { contains(TEMPLATE, lib):contains(CONFIG, dll):DEFINES += QT_QTPROPERTYBROWSER_EXPORT else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT
      }

      (I tried to create a new issue in the bug tracker but it didn’t work for me: “Assignee: The default assignee does NOT have ASSIGNABLE permission OR Unassigned issues are turned off.”)

      Attachments

        1. build.txt
          201 kB
          Jacob Pedersen

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              gjaegy Gregory Jaegy
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes