Results 1 to 4 of 4

Thread: Deploying a QApplication inside a DLL -> platform plugin not found even if here

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Aug 2020
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Deploying a QApplication inside a DLL -> platform plugin not found even if here

    The solution was simple, thanks to hskoglund on this thread [link]. Here the quote :
    [...] add the path to the Qt files yourself via some C++ code, this has to be done before QApplication's constructor (because that's where the plugin loading occurs), say like this:
    Qt Code:
    1. ...
    2. QCoreApplication::addLibraryPath("C:/Project folder");
    3. QApplication a(argc,argv);
    4. ...
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to Aria-dvp for this useful post:

    d_stranz (5th August 2020)

Similar Threads

  1. Platform plugin for blackberry not found?
    By Clever&Smart in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 21st July 2015, 12:40
  2. Problem Deploying Qt5 Application to a Windows 8 platform
    By davethomaspilot in forum Installation and Deployment
    Replies: 3
    Last Post: 20th February 2015, 22:36
  3. QApplication not found using qmake win64
    By vyalmicro in forum Installation and Deployment
    Replies: 3
    Last Post: 22nd October 2014, 15:55
  4. Deploying a hello world program on windows:Entry Point Not Found
    By thefatladysingsopera in forum Qt Programming
    Replies: 2
    Last Post: 9th May 2011, 19:32
  5. QApplication & QPushButton not found
    By briahn06 in forum Installation and Deployment
    Replies: 3
    Last Post: 9th April 2006, 17:10

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.