[QBS] Static build with QBS under Ubuntu (14.04)

Christian Kandeler christian.kandeler at digia.com
Tue Oct 21 15:06:56 CEST 2014


On 10/21/2014 02:55 PM, Jicquel Dorian wrote:
> 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")

Depends {
     name: "Qt.qico"
     condition: Qt.core.staticBuild // If project should also build 
against non-static Qt
}


Christian




More information about the Qbs mailing list