uglyDwarf / linuxtrack

Headtracking for Linux/Mac
MIT License
152 stars 30 forks source link

QHelpEngine: No such file or directory #155

Open lorenzleutgeb opened 5 years ago

lorenzleutgeb commented 5 years ago

I am interestedin using linuxtrack but could not get it to build on Fedora 30 with Qt 4.8.7:

$ make
...
Project MESSAGE: Warning: unknown QT: help
...
../qt_gui/help_view.cpp:8:10: fatal error: QHelpEngine: No such file or directory
    8 | #include <QHelpEngine>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:378: help_view.o] Error 1
...

I get some other binaries but not ltr_gui.

Have you seen this before?

alexolivan commented 5 years ago

Hi. Yep ... Exact same thing on Debian Buster.

Hope this could be fixed...

hyarion commented 4 years ago

I had the same issue on centos7. I fixed it by using qt5 instead:

  1. $ sudo yum install qt5-qttools-devel
  2. in configure.ac +46, add change qmake qmake-qt4 to qmake qmake-qt5 qmake-qt4
  3. $ autoreconf -i configure.ac
  4. $ ./configure
  5. $ make
alexolivan commented 4 years ago

Thanks. That worked!

Also, I replaced opencv to opencv4 at line 216 to get Debian packagedp libopencv-dev to get detected.

Regards