Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75112

gui: add use pkgconfig at libjpeg test

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Open
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.12.2, 5.12.6
    • Fix Version/s: None
    • Component/s: Image formats
    • Labels:
      None

      Description

      I think use pkgconfig at libjpeg test simplify build

      diff --git a/src/gui/configure.json b/src/gui/configure.json
      index 44140bc7b6..fe200bdaa2 100644
      --- a/src/gui/configure.json
      +++ b/src/gui/configure.json
      @@ -373,6 +373,7 @@
                   },
                   "headers": "jpeglib.h",
                   "sources": [
      +                { "type": "pkgConfig", "args": "libjpeg" },
                       { "libs": "-llibjpeg", "condition": "config.msvc" },
                       "-ljpeg"
                   ]

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                vgt Eirik Aavitsland
                Reporter:
                imb Kirill Brilliantov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes