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

configure does not understand OPENGL_ES2_LIBS= variable assignment

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.2
    • 5.11.1
    • Build System
    • None
    • Linux/Other display system
    • 9fde78269526925a764e45370ffcae509e5db8e9,cdf456f05e0d8ede6b472da52016a5f8b4c66287

    Description

      Quoting config_help.txt:

       

      Configure understands variable assignments like VAR=value on the command line.
      Each uppercased library name (obtainable with -list-libraries) supports the
      suffixes _INCDIR, _LIBDIR, _PREFIX (INCDIR=PREFIX/include, LIBDIR=PREFIX/lib),
      _LIBS, and - on Windows and Darwin - _LIBS_DEBUG and _LIBS_RELEASE. E.g.,
      ICU_PREFIX=/opt/icu42 ICU_LIBS="-licui18n -licuuc -licudata".

      --list-libraries output:

      ...
      opengl
      opengl_es2
      openvg
      ...

      Running `./configure OPENGL_ES2_LIBS=whatever` produces the following output:

      ERROR: Invalid command line parameter 'OPENGL_ES2_LIBS=whatever'.

      Running `./configure OPENGL_LIBS=whatever` produces the expected output, ie configure does not complain about the invalid command line parameter and procedes with configuration.

      Edit: this also affects git development version at time of writing.

      Edit 2: the same thing happens if you try to set QMAKE_LIBS_OPENGL_ES2. Completely made up QMAKE variables work fine.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            ali1234 Alistair Buxton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes