[QBS] Static build with QBS with Ubuntu

Christian Kandeler christian.kandeler at digia.com
Wed Jul 16 15:06:14 CEST 2014


On 07/02/2014 03:02 PM, Christian Kandeler wrote:
> On 07/02/2014 02:27 PM, Jicquel Dorian wrote:
>> Thanks for your help i was searching a similar bug in qbs but couldn't
>> find it , so no workaround for it ?
>
> It seems the procedure to get this right is rather involved (linking the
> plugin is only one aspect of it), so I'm afraid there is no simple
> workaround.

Update: With the upcoming qbs 1.3, this will work correctly, as the Qt 
modules are now being picked up by the setup-qt tool. We have also added 
the new convenience item QtGuiApplication to keep user projects simple.

Christian

>> Le 02/07/2014 13:56, Oswald Buddenhagen a écrit :
>>> On Wed, Jul 02, 2014 at 01:25:09PM +0200, Christian Kandeler wrote:
>>>> On 07/02/2014 12:48 PM, Jicquel Dorian wrote:
>>>>> I tried to build my application project with qbs with a statically build
>>>>> qt ( 5.3.0 ) and errors occurs while linking job ( undefined reference
>>>>> errors ) so i mailed the support and they said that i had to manually
>>>>> add the library with cpp.dynamicLibraries .
>>>>> I sucessfully build my app after that but when i try to launch it from
>>>>> the console (to have the error messages) , it says that the app didn't
>>>>> find the xcb platform plugin.
>>>> I must admit I'm not familiar with platform plugins and how they relate
>>>> to static builds. Does the same error also appear if you build your
>>>> application with qmake?
>>>>
>>> of course not, because it is fully automated. ;)
>>>
>>> https://bugreports.qt-project.org/browse/QBS-585
>>> _______________________________________________
>>> QBS mailing list
>>> QBS at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qbs
>>
>> _______________________________________________
>> QBS mailing list
>> QBS at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qbs
>>
>
> _______________________________________________
> QBS mailing list
> QBS at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs
>




More information about the Qbs mailing list