Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtPropertyBrowser doesn't compile as DLL (win32/VS/Qt5.0.0)
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 3.4k 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.
  • G Offline
    G Offline
    gjaegy
    wrote on last edited by
    #1

    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.")

    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