[Qt-interest] Linking problem in 4.5.1 on windows

Philip Lee rocketman768 at gmail.com
Wed Jun 10 01:03:28 CEST 2009


After reconfiguring for a static build, the make process hits an error that
I can't figure out...

c:\Qt\4.5.1\lib/libQtGui.a(qapplication_win.o)(.bxx+0x60):qapplication_win.cpp:
multiple definition of 'qt_win_owndc_required'
c:\Qt\4.5.1\lib/libQtOpenGL.a(qwindowsurface_gl.o)(.bss+0x5):qwindowsurface_gl.cpp:
first defined here
collect2: ld returned 1 exit status
make[4]: *** [release\padnavigator.exe] Error 1
make[4]: Leaving directory 'c:/Qt/4.5.1/examples/graphicsview/padnavigator'
make[3]: *** [release] Error 2
make[3]: Leaving directory 'c:/Qt/4.5.1/examples/graphicsview/padnavigator'
make[2]: *** [sub-padnavigator-sub_Release] Error 2
make[2]: Leaving directory 'c:/Qt/4.5.1/examples/graphicsview'
make[1]: *** [sub-graphicsview-sub_Release] Error 1
make[1]: Leaving directory 'c:/Qt/4.5.1/examples'
make: *** [sub-examples-sub_Release_ordered] Error 2

I got it to finish building (I think) by removing the dependencies of
sub-examples-sub_Release_ordered and sub-demos-sub_Release_ordered in the
Makefile.

I've only really done Qt work in Linux, so I apologize if this is a noob
question. Thanks!
-- 
Philip G. Lee
rocketman768 at gmail.com
aim: coolpdiddy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090609/36312246/attachment.html 


More information about the Qt-interest-old mailing list