Text archives Help
- From: tom fogal <tfogal@sci.utah.edu>
- To: iv3d-users@sci.utah.edu
- Subject: [IV3D-USERS] Re: Building imagevis on Vista 32-bit with Qt 4.6.3
- Date: Wed, 29 Sep 2010 09:45:44 -0600
Alark Joshi <alark1@gmail.com> writes:
>
Hello,
>
>
I have downloaded and installed Qt 4.6.3 SDK for Windows from
>
http://qt.nokia.com/downloads/.
We don't support the SDK, only building from source.
Not that you won't be able to get it to work, just that we're not
experienced here and will be little help ;)
There's a .bat to compile from source under Scripts/.
Also note that Qt 4.7 is out.
>
When I tried to Build the Visual Studio Project after 'qmake
>
-recursive', it keeps looking for QtOpenGL.lib, QtGui.lib, whereas
>
the library files that come with Qt 4.5.x onwards have a '4' appended
>
to the library name. So QtOpenGL.lib is now QtOpenGL4.lib and so on.
>
Similary, qjpeg.lib is now qjpeg4.lib.
If you want to use the sdk, you should make sure to delete all our
distributed .sln and .vcproj files before you run `qmake'. I would
*hope* that version of the Qt SDK would build QtOpenGL4.lib/dll as well
as have its qmake look for QtOpenGL4.lib/dll. If not, would you mind
filing a bug w/ Qt [1]?
>
I went through every project and fixed the library names to look for
>
Qt*4.lib, but when I ask it to look for qjpeg4.lib, it gives me the
>
following error.
>
>
Creating library Build\ImageVis3D.lib and object Build\ImageVis3D.exp
>
2>main.obj : error LNK2001: unresolved external symbol "class QObject
>
* __cdecl qt_plugin_instance_qjpeg(void)"
We expect the JPEG, PNG, TIFF, etc. libraries to be statically linked
in to Qt, which it is not if you're using the binary SDK. Try defining
QT_SHARED in all your project files and rebuilding everything.
-tom
[1]
http://bugreports.qt.nokia.com/secure/Dashboard.jspa
Archive powered by MHonArc 2.6.16.