[Development] Plugins path

Igor Mironchik igor.mironchik at gmail.com
Mon Jan 1 11:27:32 CET 2018


Hello,

I built Qt with -developer-build option. But I can't run any application 
linked with develop Qt build. Qt can't find plugins.

I have to set -platformpluginpath /home/igor/Work/Qt/qt5/qtbase/plugins 
for Run step in QtCreator.

So my question is how do you solve this in your development environment? 
I don't want to set -platformpluginpath every time on each project.

Original qt.conf:

[EffectivePaths]
Prefix=..
[DevicePaths]
Prefix=/home/igor/Work/Qt/qt5/qtbase/bin
[Paths]
Prefix=/home/igor/Work/Qt/qt5/qtbase/bin
HostPrefix=/home/igor/Work/Qt/qt5/qtbase/bin
Sysroot=
SysrootifyPrefix=false
TargetSpec=linux-g++
HostSpec=linux-g++

I tried:

[Paths]
Prefix=..
Plugins=../plugins
Sysroot=
SysrootifyPrefix=false
TargetSpec=linux-g++
HostSpec=linux-g++

Thank you.




More information about the Development mailing list