[Interest] Porting Qt app to windows

Till Oliver Knoll till.oliver.knoll at gmail.com
Wed Jun 20 15:03:29 CEST 2012


2012/6/20 Diego Iastrubni <diegoiast at gmail.com>:
> ...
> And telling QApplication where to look for them, also was quite fun
> learning...

If you place them in the "standard location" - as indicated in the
mentioned Qt docs - there is no need to programatically tell the Qt
framework where to look for them ("the application directory will
serve as 'plugin-base' directory"):

  http://qt-project.org/doc/latest/deployment-plugins.html#the-plugin-directory

Except on Mac, where it is advisable to generate a proper qt.conf file
with the proper "Plugins" entry:

  http://doc.qt.nokia.com/latest/qt-conf.html

(or use the programmatical approach as previously explained, using
relative paths to point to the Qt plugin directory within the
application bundle).

Cheers, Oliver



More information about the Interest mailing list