[PATCH] Don't use "qmake-qt4" as qmake

Linus Torvalds torvalds at linux-foundation.org
Tue May 14 13:41:33 PDT 2013


On Tue, May 14, 2013 at 12:49 PM, Thiago Macieira <thiago at macieira.org> wrote:
>>
>> At least with the attached patch, I can compile the damn thing. What's
>> your solution? Because your *current* one isn't working. Really.
>
> Can you send us the output of "make show" with your patch

  [torvalds at i5 subsurface]$ make -n show
  echo moc: /usr/lib64/qt4/bin/moc
  echo qtbindir: /usr/lib64/qt4/bin
  echo qmake: /usr/lib64/qt4/bin/qmake
  echo uic: /usr/lib64/qt4/bin/uic

> as well as the output of:
>         qmake -query

  [torvalds at i5 subsurface]$ qmake -query
  bash: qmake: command not found

See the problem?

With "qmake-qt4" it actually used to work:

  [torvalds at i5 subsurface]$ qmake-qt4 -query
  QT_INSTALL_PREFIX:/usr/lib64/qt4
  QT_INSTALL_DATA:/usr/lib64/qt4
  QT_INSTALL_DOCS:/usr/share/doc/qt4
  QT_INSTALL_HEADERS:/usr/include
  QT_INSTALL_LIBS:/usr/lib64
  QT_INSTALL_BINS:/usr/lib64/qt4/bin
  QT_INSTALL_PLUGINS:/usr/lib64/qt4/plugins
  QT_INSTALL_IMPORTS:/usr/lib64/qt4/imports
  QT_INSTALL_TRANSLATIONS:/usr/share/qt4/translations
  QT_INSTALL_CONFIGURATION:/etc
  QT_INSTALL_EXAMPLES:/usr/lib64/qt4/examples
  QT_INSTALL_DEMOS:/usr/lib64/qt4/demos
  QMAKE_MKSPECS:/usr/lib64/qt4/mkspecs
  QMAKE_VERSION:2.01a
  QT_VERSION:4.8.4

but plain "qmake" isn't even in the path. Which is why I'm using pkg-config.

              Linus


More information about the subsurface mailing list