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. How do I install widgets from Qt-Apps?

How do I install widgets from Qt-Apps?

Scheduled Pinned Locked Moved General and Desktop
6 Posts 4 Posters 3.5k 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.
  • A Offline
    A Offline
    AutoBot
    wrote on last edited by
    #1

    I've downloaded a QPropertyEditor that I was interested in from "here":http://qt-apps.org/content/show.php/QPropertyEditor?content=68684, and I'm a bit confused about how I should install it/integrate it into my applications.

    The help folder only contains some obscure .dxy format I haven't seen before, along with a batch file. I try running the batch and it doesn't recognize the command "doxygen". So I assume this some sort of unpacking algorithm. But how do I use it?

    The src and include folders are pretty streightforward, but the bin folder is empty, and the lib folder only contains some sort of .a file (once again, never heard of it), all the more contributing to the confusion factor.

    So how do I integrate this library into an application using Qt Creator? Any insight is appreciated!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dialingo
      wrote on last edited by
      #2

      doxygen is the documentation generator.
      .a files are static library files for linux.

      You are very close: Specify the location of the includepath and the location of the static library file in your qmake file and your ready to go.

      @INCLUDEPATH += path/to/propertyeditor/include
      LIBS += -L/path/to/propertyeditor/libs -llibraryname_without_lib@

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        Obviously, the best one to ask is the author of the package...

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AutoBot
          wrote on last edited by
          #4

          Where's the qmake file you're referring to dialingo? Do you mean the .pro files?

          I actually did something similar to what you said by putting the includes and libs in their corrosponding places in my MinGW folder, since it looked like that might be the intention. It seems to include it but whenever I create an instance of QPropertyEditorWidget it complains about a few undefined references about the constructor and destructor, as if it's not linking to the libs properly...

          And I would normally do that Andre, but Volki's last post was back on the 7th of October last year... so... I'd assume it'd be a while before I'd get any feedback from him. xD

          EDIT: I've gotten it to work by adding the LIB and INCLUDEPATH variables to my .pro file. Seems to be good enough. Thanks!

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mlong
            wrote on last edited by
            #5

            Incidentally, Doxygen is available "here.":http://www.stack.nl/~dimitri/doxygen/ It's very handy to have around, in general.

            Software Engineer
            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dialingo
              wrote on last edited by
              #6

              Congratulation to your success!

              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