> -----Original Message-----
> From: development-bounces+kai.koehne=digia....@qt-project.org
> [mailto:development-bounces+kai.koehne=digia....@qt-project.org] On
> Behalf Of Anttila Janne
> Sent: Tuesday, January 08, 2013 9:00 AM
> To: development@qt-project.org
> Subject: [Development] CI autotest failures for MinGW
> 
[...]
> Below is list of failed autotests from already executed MinGW stages:
> 
> QtActiveQt_dev_Integration [1]
> 
> === Failures:
> =======================================================
>   cmake
> === Totals: 3 tests, 2 passes, 1 fail ===============================


I spend way too mich time on this one already when trying to reproduce it 
locally. Unfortunately the exact way cmake is called here , as well as the test 
runner setup, is pretty convoluted ... Anyway, what's suspicious is that the 
test is compiled with Visual Studio 2010 although this is a MinGW test run. Is 
that to be expected?

>From the log:

+ C:\strawberry\perl\bin\perl.exe 
C:\work\build\_qtqa_latest\scripts\generic\testplanner.pl --input . --output 
testplan.txt --make mingw32-make -- -silent -o testresults.xml,xml -o -,txt
-- Building for: Visual Studio 10
[...]
2>ClCompile:
2>  axcontainer.cpp
2>axcontainer.obj : error LNK2019: unresolved external symbol 
"__declspec(dllimport) public: static void __cdecl QListData::dispose(struct 
QListData::Data *)" (__imp_?dispose@QListData@@SAXPAUData@1@@Z) referenced in 
function "public: __thiscall `public: __thiscall QList<class 
QVariant>::QList<class QVariant>(class QList<class QVariant> const 
&)'::`5'::Cleanup::~Cleanup(void)" 
(??1Cleanup@?4???0?$QList@VQVariant@@@@QAE@ABV1@@Z@QAE@XZ)
2>axcontainer.obj : error LNK2019: unresolved external symbol "public: virtual 
__thiscall QAxWidget::~QAxWidget(void)" (??1QAxWidget@@UAE@XZ) referenced in 
function _main
2>axcontainer.obj : error LNK2019: unresolved external symbol "public: 
__thiscall QAxWidget::QAxWidget(class QWidget *,class QFlags<enum 
Qt::WindowType>)" 
(??0QAxWidget@@QAE@PAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z) referenced in 
function _main
2>C:\work\build\qt\qtactiveqt\tests\auto\cmake\build\test_modules\container\Release\axcontainerapp.exe
 : fatal error LNK1120: 3 unresolved externals

Maybe the cmake call should add a -G "MinGW Makefiles", or Visual Studio 
shouldn't be in the environment, or both :) Can some cmake or ActiveQt expert 
comment?

Regards

Kai

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to