[QBS] Static build with QBS under Ubuntu (14.04)
Jicquel Dorian
dorian.jicquel at mana-sys.fr
Tue Oct 21 14:55:52 CEST 2014
Thank you very much it works now , but i've one last issue , i'm using
ico files in my menu bar and i suspect the qico imageformat to not be
linked to my application.
I searched for a solution and found Q_IMPORT_PLUGIN macro and QTPLUGIN
+= pluginname but there is no equivalent in qbs and static linking of
libqico.a doesn't work (cpp.staticLibraries:
Qt.core.pluginPath+"/imageformats/libqico.a")
I tried before with an official qt build (5.3.2) and my menu icons are
correctly displayed.
Thank you for your time.
Dorian.
Le 21/10/2014 12:24, Christian Kandeler a écrit :
> On 10/21/2014 12:17 PM, Jicquel Dorian wrote:
>> I've created a simple project with qbs to confirm that the issue is
>> always there :
>>
>> import qbs 1.0
>>
>> CppApplication{
>> Depends{name:"Qt";submodules:['core','gui','widgets']}
>> files:['main.cpp','mainwindow.cpp','mainwindow.h','mainwindow.ui']
>> }
> What happens if you use QtGuiApplication instead of CppApplication? This
> item has a dependency on the platform plugin in case of a static build.
>
>
> Christian
>
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
More information about the Qbs
mailing list