Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
nimingzhe2008 last edited by
I created an application with two plugin.When I ran it in Qt Creator,it worked well.But if I ran it in Qt's command prompt,I only got a bland window.Why?
MuldeR last edited by
In your other thread, where you asked about paths, you used a construct like "./plugins". As mentioned back then, this will use the sub-folder "plugins" inside the current directory. Now the current directory depends on how you launch the applications, so it's probably different between QtCreator and the command prompt and thus loading the plug-in's fails...
Jeroentjehome last edited by
Creator is probably set to debug, so it will be there. The command will run a executable, so can be anywhere. As Mulder says.....make sure that Qt can find the plugins