Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. qmake -no-libjpeg
Forum Updated to NodeBB v4.3 + New Features

qmake -no-libjpeg

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 335 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.
  • E Offline
    E Offline
    emabiz
    wrote on last edited by
    #1

    Hi,
    I don't understand how to remove jpeg from my project.
    I see in the documentation here:
    https://doc.qt.io/qt-6/qtgui-attribution-libjpeg.html

    that it can be done with configure and -no-libjpeg flag.

    but I am using qmake under windows.

    Can you help me on this?

    Thank you

    Emanuele

    sierdzioS 1 Reply Last reply
    0
    • E emabiz

      Hi,
      I don't understand how to remove jpeg from my project.
      I see in the documentation here:
      https://doc.qt.io/qt-6/qtgui-attribution-libjpeg.html

      that it can be done with configure and -no-libjpeg flag.

      but I am using qmake under windows.

      Can you help me on this?

      Thank you

      Emanuele

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @emabiz You need to compile Qt yourself. When you do that, Qt has a configure script - that's where you can use that -no-libjpeg flag. If you add it to qmake it won't have any effect.

      (Z(:^

      E 1 Reply Last reply
      0
      • sierdzioS sierdzio

        @emabiz You need to compile Qt yourself. When you do that, Qt has a configure script - that's where you can use that -no-libjpeg flag. If you add it to qmake it won't have any effect.

        E Offline
        E Offline
        emabiz
        wrote on last edited by
        #3

        @sierdzioThank you for your respone.
        And the default integrated in Qt is LibJPEG-turbo?
        Is it possible to avoid to use third party libraries without recompiling?
        And recompiling will continue to keep LGPL license if used in dynamically linked applications?

        sierdzioS 1 Reply Last reply
        0
        • E emabiz

          @sierdzioThank you for your respone.
          And the default integrated in Qt is LibJPEG-turbo?
          Is it possible to avoid to use third party libraries without recompiling?
          And recompiling will continue to keep LGPL license if used in dynamically linked applications?

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @emabiz said in qmake -no-libjpeg:

          @sierdzioThank you for your respone.
          And the default integrated in Qt is LibJPEG-turbo?

          I think so, yes.

          Is it possible to avoid to use third party libraries without recompiling?

          I don't remember, sorry. Perhaps you can just swap the libs during deployment, if they are binary compatible?

          And recompiling will continue to keep LGPL license if used in dynamically linked applications?

          Yes, you can choose the license when compiling and using Qt.

          (Z(:^

          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