[Releasing] Package Qt-5.0-beta-offline-linux-x86_32-ubuntu1204.run

Gatis Paeglis gatis.paeglis at nokia.com
Tue Jun 5 10:59:45 CEST 2012


Hi,

I didn't specify anything explicitly. Qt links against PlatformSupport 
even with fallowing code:

#include <QtWidgets/QApplication>

int main(int argc, char *argv[])
{
     QApplication a(argc, argv);
     return a.exec();
}

*.pro file:

QT       += core widgets
TARGET = betatest
TEMPLATE = app
SOURCES += main.cpp

-----
Gatis.

On 06/01/2012 05:26 PM, ext Thiago Macieira wrote:
> On sexta-feira, 1 de junho de 2012 17.03.20, Gatis Paeglis wrote:
>> Ah, all this was caused by missing libraries, it happens when using
>> fresh installation of linux.. :)
> Yes, as expected. However, please tell us why you're linking to
> PlatformSupport. Did you do that on your own? Where did the dependency come
> from?
>
>> On 06/01/2012 03:26 PM, ext Thiago Macieira wrote:
>>> On sexta-feira, 1 de junho de 2012 14.49.55, Gatis Paeglis wrote:
>>>> g++ -Wl,-O1 -Wl,-rpath,/home/gp/QtSDKBETA/Desktop/Qt/5.0.0/gcc/lib -o
>>>> betatest main.o    -L/home/gp/QtSDKBETA/Desktop/Qt/5.0.0/gcc/lib
>>>> -lQtWidgets
>>>> -L/var/lib/jenkins/workspace/qt5-beta-bin-ubuntu1204-32/shadow/Desktop/Qt
>>>> /5. 0.0/gcc/lib  -lQtPlatformSupport
>>>> -L/home/gp/QtSDKBETA/Desktop/Qt/5.0.0/gcc/lib -lXext -lX11 -lm -lXrender
>>>> -lfontconfig -lfreetype -pthread -lgthread-2.0 -lrt -lglib-2.0 -lQtGui
>>>> -lQtCore -lGL -lpthread
>>>> /usr/bin/ld: cannot find -lXext
>>>> /usr/bin/ld: cannot find -lX11
>>>> /usr/bin/ld: cannot find -lXrender
>>>> /usr/bin/ld: cannot find -lfontconfig
>>>> /usr/bin/ld: cannot find -lfreetype
>>>> /usr/bin/ld: cannot find -lgthread-2.0
>>>> /usr/bin/ld: cannot find -lglib-2.0
>>>> /usr/bin/ld: cannot find -lGL
>>>> collect2: ld returned 1 exit status
>>>> make: *** [betatest] Error 1
>>> Hi Gatis
>>>
>>> These libraries missing is an installation problem. You can't build stuff
>>> without the dependencies.
>>>
>>> The question is: why are they required? Note the -lQtPlatformSupport
>>> option: are you intentionally depending on QtPlatformSupport?
>>>
>>> Can you attach your .pro file as well as the .prl files for QtCore, QtGui
>>> and QtWidgets?
>>>
>>>
>>>
>>> _______________________________________________
>>> Releasing mailing list
>>> Releasing at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/releasing
>>>
>>>
>>> _______________________________________________
>>> Releasing mailing list
>>> Releasing at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/releasing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/releasing/attachments/20120605/f094412f/attachment.html>


More information about the Releasing mailing list