Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. cannot find -lqjpeg
Qt 6.11 is out! See what's new in the release blog

cannot find -lqjpeg

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 3 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jan-Willem

    @omardavinci said:

    qjpeghandler_p.h

    When do you see this, from QtCreator when building of when running the application itself?

    omardavinciO Offline
    omardavinciO Offline
    omardavinci
    wrote on last edited by
    #3

    @Jan-Willem this is when i try to compile jpeg manual since project

    1 Reply Last reply
    0
    • J Offline
      J Offline
      Jan-Willem
      wrote on last edited by
      #4

      @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?
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #5

        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.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        omardavinciO 2 Replies Last reply
        0
        • SGaistS SGaist

          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.

          omardavinciO Offline
          omardavinciO Offline
          omardavinci
          wrote on last edited by omardavinci
          #6
          This post is deleted!
          1 Reply Last reply
          0
          • SGaistS SGaist

            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.

            omardavinciO Offline
            omardavinciO Offline
            omardavinci
            wrote on last edited by
            #7

            @SGaist I am using qimage and i always get this error when i use plugin jpeg. i dont know how to solve some suggestion?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              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 ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              omardavinciO 1 Reply Last reply
              0
              • SGaistS SGaist

                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 ?

                omardavinciO Offline
                omardavinciO Offline
                omardavinci
                wrote on last edited by omardavinci
                #9

                @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.ui

                win32 {
                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

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Do you also have a static build of Qt ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  omardavinciO 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Do you also have a static build of Qt ?

                    omardavinciO Offline
                    omardavinciO Offline
                    omardavinci
                    wrote on last edited by
                    #11

                    @SGaist yes i built static libraries with command configure

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      Did you build both the debug and release version of Qt ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved