Building QTWeb (not Webkit)



  • Hi,

    I am trying to build QTWeb 3.7 and 3.7.5, without changing the code i get these errors:

    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qjpeg(void)" (?qt_plugin_instance_qjpeg@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqjpegPluginInstance::StaticqjpegPluginInstance(void)" (??0StaticqjpegPluginInstance@@QAE@XZ)
    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qgif(void)" (?qt_plugin_instance_qgif@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqgifPluginInstance::StaticqgifPluginInstance(void)" (??0StaticqgifPluginInstance@@QAE@XZ)
    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qcncodecs(void)" (?qt_plugin_instance_qcncodecs@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqcncodecsPluginInstance::StaticqcncodecsPluginInstance(void)" (??0StaticqcncodecsPluginInstance@@QAE@XZ)
    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qjpcodecs(void)" (?qt_plugin_instance_qjpcodecs@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqjpcodecsPluginInstance::StaticqjpcodecsPluginInstance(void)" (??0StaticqjpcodecsPluginInstance@@QAE@XZ)
    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qkrcodecs(void)" (?qt_plugin_instance_qkrcodecs@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqkrcodecsPluginInstance::StaticqkrcodecsPluginInstance(void)" (??0StaticqkrcodecsPluginInstance@@QAE@XZ)
    1>main.obj : error LNK2019: unresolved external symbol "class QObject * __cdecl qt_plugin_instance_qtwcodecs(void)" (?qt_plugin_instance_qtwcodecs@@YAPAVQObject@@XZ) referenced in function "public: __thiscall StaticqtwcodecsPluginInstance::StaticqtwcodecsPluginInstance(void)" (??0StaticqtwcodecsPluginInstance@@QAE@XZ)

    Can anyone help me with this? I am new to c++ in this case.



  • I am using VS 2008, qt-plugin did not help since the source is set up to not use it in the first place.

    Seems to make no difference if in link options I link to for example qcncodecs static or dynamic lib. But original references are static to codecs and jpeg etc.



  • Look s like it can't find image libraries. Have you compiled plugins? QtWeb should be compiled static. P.S.: it is wrong place to ask support on third-part apps. Try to ask on QtWeb forum.



  • There is no QtWeb forum. Project is dead.

    I have QT 4.7.1 vs2008 precompiled.

    Do I have to recompile QT?



  • You can still create issue on google code: http://code.google.com/p/qtweb/
    Precompiled builds are shared, and QtWeb uses static build. So maybe you have more luck if you recompile Qt by yourself.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.