Results 1 to 6 of 6

Thread: How to add a plugin? (QJson)

  1. #1
    Join Date
    Nov 2009
    Posts
    18
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default How to add a plugin? (QJson)

    I have been following instructions to use a json lib with qt;
    http://qjson.sourceforge.net/download.html

    I have followed the instructions and got a "libqjson.dll" and a "libqjson.dll.a" out of it.
    But I'm not sure what to do with these.
    I tried putting these in the "\Qt\2009.04\lib\qtcreator\plugins\Nokia" directory, but it didnt show up in the Plugins About box.
    What should I do?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add a plugin? (QJson)

    It's not a plugin to Creator. It's a regular library you need to link your program against.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2009
    Posts
    18
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add a plugin? (QJson)

    And how would I do that?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add a plugin? (QJson)

    Searching the forum would be a good start. Searching Qt docs (especially the part about building applications) would be a good follow-up.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Nov 2009
    Posts
    18
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add a plugin? (QJson)

    Thanks, I was searching for a few hours (both here and google), but I was obviously hitting the wrong keywords as I was using the word "plugin".

    As for the help documentation.
    You mean the bit labled "Declaring other Libraries" ?in "Handling External Libraries"?
    Because that gives a dead link;
    http://doc.trolltech.com/latest/make...ther-libraries

    There's also a link to the cmake documentation, but it looks like that would take a few months to study alone to understand :-/
    Isn't there some idiot-proof "copy x to y and include it in your code this way" style documentation? I've clearly been spoilt by Java.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add a plugin? (QJson)

    Since you know you are not dealing with a plugin, searching for help about "plugin" will probably not return many positive results. One the other hand if you search for "use library" or "link library" you will get a couple of nice results.

    Isn't there some idiot-proof "copy x to y and include it in your code this way" style documentation?
    Sure there is. You just didn't look for it in the right place. Have you tried qmake docs? Search for this one there: "link library".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Extending a plugin in a static library
    By ultim8 in forum Qt Programming
    Replies: 5
    Last Post: 25th March 2010, 15:10
  2. Trouble with plugin system's documentation
    By niklas in forum Qt Programming
    Replies: 8
    Last Post: 6th March 2009, 22:07
  3. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  4. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  5. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.