Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] Compiling QtPropertyBrowser : undefined QtVariantPropertyManagerPrivate
QtWS25 Last Chance

[Solved] Compiling QtPropertyBrowser : undefined QtVariantPropertyManagerPrivate

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 4.3k Views
  • 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.
  • D Offline
    D Offline
    deanc
    wrote on last edited by
    #1

    I'm eager to use the QtPropertyBrowser classes, especially after compiling and running the demos. However I can't figure out how to compile it in my own application. The compiler gives hundreds of errors of the form:

    1>moc_qtvariantproperty.cpp
    1>.\GeneratedFiles\Debug\moc_qtvariantproperty.cpp(161) : error C2027: use of undefined type 'QtVariantPropertyManagerPrivate'
    1> h:\source\ladarsbirsrc\ladaproto\generatedfiles\debug../../../qtpropertybrowser/src/qtvariantproperty.h(75) : see declaration of 'QtVariantPropertyManagerPrivate'
    1>.\GeneratedFiles\Debug\moc_qtvariantproperty.cpp(161) : error C2227: left of '->slotValueChanged' must point to class/struct/union/generic type

    There are about 260 such errors. We're using Visual Studio 2008 and Qt 4.7.3.

    I know this isn't officially part of Qt, didn't know where else to ask about this. Thanks.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Moved to installation and deployment subforum

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • D Offline
        D Offline
        deanc
        wrote on last edited by
        #3

        Solved to a point; I was able to compile the property browser code into a DLL, and link the DLL to my program. Still don't understand why the DLL and the demo solution that came with the library compile, but adding the source directly in my project doesn't.

        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