includedir failed to include qt headers.

*nix specific usage questions
User avatar
jiapei100
Blank Cone
Blank Cone
Posts: 33
Joined: 06 Aug 2009 02:17
VLC version: 4.0.0-dev
Operating System: Ubuntu
Location: Surrey, BC, Canada
Contact:

includedir failed to include qt headers.

Postby jiapei100 » 18 Sep 2020 17:24

Hi, I'm trying to build vlc-3.0.11


It failed to be built for qt:

Code: Select all

CXX gui/qt/libqt_plugin_la-menus.lo gui/qt/qt.cpp:31:10: fatal error: QApplication: No such file or directory 31 | #include <QApplication> | ^~~~~~~~~~~~~~ compilation terminated. CXX gui/qt/libqt_plugin_la-main_interface.lo make[4]: *** [Makefile:24917: gui/qt/libqt_plugin_la-qt.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from gui/qt/menus.hpp:28, from gui/qt/menus.cpp:39: gui/qt/qt.hpp:36:10: fatal error: qconfig.h: No such file or directory 36 | #include <qconfig.h> | ^~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:24924: gui/qt/libqt_plugin_la-menus.lo] Error 1 gui/ncurses.c: In function ‘DrawStatus’: gui/ncurses.c:1081:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 1081 | mvnprintw(y++, 0, COLS, _(input_state[val.i_int]), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1082 | repeat, random, loop); | ~~~~~~~~~~~~~~~~~~~~~ gui/ncurses.c:1084:9: note: here 1084 | default: | ^~~~~~~ gui/ncurses.c: In function ‘HandleCommonKey’: gui/ncurses.c:1560:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 1560 | if (getch() != ERR) | ^ gui/ncurses.c:1563:5: note: here 1563 | case 'q': | ^~~~ In file included from gui/qt/main_interface.cpp:30: gui/qt/qt.hpp:36:10: fatal error: qconfig.h: No such file or directory 36 | #include <qconfig.h> | ^~~~~~~~~~~ compilation terminated. make[4]: *** [Makefile:24931: gui/qt/libqt_plugin_la-main_interface.lo] Error 1 make[4]: Leaving directory '....../vlc-3.0.11/modules' make[3]: *** [Makefile:27647: all-recursive] Error 1 make[3]: Leaving directory '....../vlc-3.0.11/modules' make[2]: *** [Makefile:12595: all] Error 2 make[2]: Leaving directory '....../vlc-3.0.11/modules' make[1]: *** [Makefile:1560: all-recursive] Error 1 make[1]: Leaving directory '....../vlc-3.0.11' make: *** [Makefile:1445: all] Error 2
even if my configuration already takes care of qt include directories as:

Code: Select all

./configure --disable-lua --includedir=....../QtCore --includedir=....../QtWidgets

Any suggestions?

Cheers
Pei
Welcome to Vision Open
http://www.visionopen.com

stepan_bandera
New Cone
New Cone
Posts: 1
Joined: 21 Sep 2022 11:49

Re: includedir failed to include qt headers.

Postby stepan_bandera » 21 Sep 2022 11:51

Hello, I faced the same issue, did you found the solution?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests