About running



  • 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?



  • 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...



  • 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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.