Static hasn't been tested. A little but of work would need to be done to properly handle the ctkPlugin and also the QtDesigner plugin (which are shared library) <br><br>Jc<br><br><div class="gmail_quote">On Mon, Aug 30, 2010 at 9:25 AM, Dean Inglis <span dir="ltr"><<a href="mailto:dean.inglis@camris.ca">dean.inglis@camris.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Sascha,<br>
<br>
Qt was also built from source with MinGW 4.5.0.  I'll remove & try<br>
the Qt SDK for Win32 and use their mingw.  Are there any restrictions<br>
on build configs for CTK? i.e., can i do shared or static release builds?<br><font color="#888888">
<br>
Dean</font><div><div></div><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Dean,<br>
<br>
for me, libCTKWidgets links fine. Just to make sure, did you also compile Qt with MinGW 4.5.0 ? If you keep having linker errors, I'd advise you to stick to the MinGW version which comes with Qt Creator or the Qt SDK. I don't think that Qt has been extensively tested with MinGW 4.5.0.<br>


<br>
Best,<br>
Sascha<br>
<br>
On 08/29/2010 07:23 PM, Dean Inglis wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
ctkMatrixWidget causes the following on Win32 MinGW<br>
<br>
Creating library file: ..\..\bin\libCTKWidgets.dll.a<br>
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe:<br>
warning: a<br>
uto-importing has been activated without --enable-auto-import specified on<br>
the c<br>
ommand line.<br>
This should work unless it involves constant data structures referencing<br>
symbols<br>
  from auto-imported DLLs.<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x8<br>
f): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0xd<br>
9): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x2<br>
27): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x2<br>
79): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text+0x6<br>
01): undefined reference to `_imp___ZTV22QItemEditorCreatorBase'<br>
CMakeFiles\CTKWidgets.dir\ctkMatrixWidget.cpp.obj:ctkMatrixWidget.cpp:(.text$_ZN<br>
22QItemEditorCreatorBaseD1Ev[QItemEditorCreatorBase::~QItemEditorCreatorBase()]+<br>
0x12): more undefined references to `_imp___ZTV22QItemEditorCreatorBase'<br>
follow<br>
collect2: ld returned 1 exit status<br>
mingw32-make[5]: *** [bin/libCTKWidgets.dll] Error 1<br>
mingw32-make[4]: *** [Libs/Widgets/CMakeFiles/CTKWidgets.dir/all] Error 2<br>
mingw32-make[3]: *** [all] Error 2<br>
mingw32-make[2]: *** [CMakeExternals/Stamp/CTK-build/CTK-build-build] Error<br>
2<br>
mingw32-make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2<br>
mingw32-make: *** [all] Error 2<br>
<br>
seems to be related to register of custom editors in void<br>
ctkMatrixWidgetPrivate::init() where<br>
there is<br>
   QItemEditorFactory *editorFactory = new QItemEditorFactory;<br>
   editorFactory->registerEditor(QVariant::Double, new<br>
QStandardItemEditorCreator<CustomDoubleSpinBox>);<br>
<br>
Can someone in the ctk community help me set up an experimental dashboard to<br>
report these build errors?<br>
<br>
thanks,<br>
Dean<br>
<br>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a> <br>
</blockquote>
<br>
_______________________________________________<br>
Ctk-developers mailing list<br>
<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>