Unsolved cannot find -lqjpeg
-
i get this error: c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lqjpeg
I cant use images in my program? how i solve? someone know?
when i compile file jpg thsi take me error : #include <qjpeghandler_p.h> -
@omardavinci said:
qjpeghandler_p.h
When do you see this, from QtCreator when building of when running the application itself?
-
@Jan-Willem this is when i try to compile jpeg manual since project
-
@omardavinci said:
qjpeg
I'm not running Windows, so some simpel check's:
- Can you find qjpeg.dll or something in your Qt installation directory?
- Have you something like QTPLUGIN += qjpeg in your pro-file?
-
Hi,
How are you trying to load .jpeg images in your application ?
Qt abstracts that part for you through QImage or QPixmap depending on your needs.
-
This post is deleted! -
@SGaist I am using qimage and i always get this error when i use plugin jpeg. i dont know how to solve some suggestion?
-
Are you trying to use a custom static build of Qt ?
If not then there should be no reason to have that error.
Can you share your .pro file ?
-
@SGaist Hi i think because i was using manual mingw 4.4.0 i am using the last now. I wanted to use this because i wanted to update some old project. Anyways i put the pro file but i think maybe it is the mingw is not well configured (for this i prefer last version). Pro file:
-------------------------------------------------
Project created by QtCreator 2010-05-30T21:33:58
-------------------------------------------------
CONFIG += static
QT += network xml
QT += widgets
TARGET = cliente
SOURCES += main.cpp
mainwindow.cpp
ventanaarchivos.cpp
ventanaescritorio.cpp
ventanaopciones.cpp
ventanawebcam.cpp
ventanaopcionesxmpp.cpp
HEADERS += mainwindow.h
ventanaarchivos.h
ventanaescritorio.h
ventanaopciones.h
ventanawebcam.h
ventanaopcionesxmpp.h
FORMS += Forms/mainwindow.ui
Forms/ventanaArchivos.ui
Forms/ventanaescritorio.ui
Forms/ventanaopciones.ui
Forms/ventanawebcam.ui
Forms/ventanaopcionesxmpp.uiwin32 {
win32-mingw32:QMAKE_LFLAGS += -static-libgcc
win32-msvc2010:LIBS += -lqjpeg
QTPLUGIN += qjpeg
RC_FILE = demonio.rc
}
TRANSLATIONS = cliente_en.ts
cliente_de.ts
cliente_fr.ts
cliente_it.ts
cliente_pt.ts
RESOURCES = resources.qrc
LIBS += -lqxmpp -
Do you also have a static build of Qt ?
-
@SGaist yes i built static libraries with command configure
-
Did you build both the debug and release version of Qt ?