#include <QtCore/QtPlugin>
Q_IMPORT_PLUGIN(qjpeg);
#include <QtCore/QtPlugin>
Q_IMPORT_PLUGIN(qjpeg);
To copy to clipboard, switch view to plain text mode
->
release/main.o(.text+0x189):main.cpp: undefined reference to `qt_plugin_instance_qjpeg()'
collect2: ld returned 1 exit status
release/main.o(.text+0x189):main.cpp: undefined reference to `qt_plugin_instance_qjpeg()'
collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode
If I add QTPLUGIN += qjpeg into .pro file, I get this error:
F:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqjpeg
collect2: ld returned 1 exit status
F:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lqjpeg
collect2: ld returned 1 exit status
To copy to clipboard, switch view to plain text mode
I also tried to remove all that code and put qjpeg4.dll into my executable folder (release), but still nothing loads
Bookmarks