Results 1 to 2 of 2

Thread: Use static plugins in dynamic Qt project

  1. #1
    Join Date
    Aug 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Use static plugins in dynamic Qt project

    Hello! My Qt is configured as -shared, but I want to use static plugins (qjpeg, particularly), but plugins in "shared" built of Qt are compiled without QT_STATICPLUGIN, so they miss qt_plugin_instance_qjpeg. So, is this possible to build Qt in "shared" mode, but with ability to use static plugins?

  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: Use static plugins in dynamic Qt project

    You can compile a particular plugin directly into Qt library. You can also probably build a particular plugin in static mode and then embed it into your application like any other static plugin.
    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. where/what are static plugins?
    By ht1 in forum Qt Programming
    Replies: 22
    Last Post: 18th August 2013, 11:42
  2. Static vs. Dynamic
    By hosseinyounesi in forum Qt Programming
    Replies: 2
    Last Post: 24th July 2009, 11:21
  3. Replies: 16
    Last Post: 23rd May 2008, 10:12
  4. having both static and dynamic libraries?
    By gfunk in forum Qt Programming
    Replies: 2
    Last Post: 7th May 2007, 07:33
  5. Qt libs static and dynamic
    By conexion2000 in forum Installation and Deployment
    Replies: 3
    Last Post: 24th May 2006, 09:09

Tags for this Thread

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.