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
Forum Updated to NodeBB v4.3 + New Features

[Solved] Compiling QtPropertyBrowser : undefined QtVariantPropertyManagerPrivate

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 4.3k 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.
  • D Offline
    D Offline
    deanc
    wrote on 5 Aug 2011, 18:23 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
    • E Offline
      E Offline
      Eddy
      wrote on 5 Aug 2011, 19:02 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 5 Aug 2011, 21:16 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

        1/3

        5 Aug 2011, 18:23

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved