I'm following the wiki to compile VLC to cross-compile libVLC to Windows: https://wiki.videolan.org/Win32Compile/#Building_VLC
Using Ubuntu 14.10 to compile for 64-bits Windows (x86_64-w64-mingw32).
The wiki specifies that we install qt4-dev-tools and qt5-default.
However, compiling stops at this error:
Code: Select all
make[5]: Entering directory '/home/narc/vlc/win32/modules/gui/qt4'
CXX libqt4_plugin_la-qt4.lo
In file included from ../../../../extras/package/win32/../../../modules/gui/qt4/dialogs/open.hpp:35:0,
from ../../../../extras/package/win32/../../../modules/gui/qt4/dialogs_provider.hpp:36,
from ../../../../extras/package/win32/../../../modules/gui/qt4/qt4.cpp:38:
./ui/open.h:14:29: fatal error: QtWidgets/QAction: No such file or directory
#include <QtWidgets/QAction>
^
compilation terminated.
Code: Select all
drwxr-xr-x 21 root root 4096 Jul 15 15:27 .
drwxr-xr-x 49 root root 16384 Jul 15 16:52 ..
drwxr-xr-x 2 root root 36864 Jul 15 15:27 Qt
drwxr-xr-x 2 root root 16384 Jul 15 15:27 Qt3Support
drwxr-xr-x 2 root root 24576 Jul 15 15:27 QtCore
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtDBus
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtDeclarative
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtDesigner
drwxr-xr-x 2 root root 40960 Jul 15 15:27 QtGui
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtHelp
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtNetwork
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtOpenGL
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtScript
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtScriptTools
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtSql
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtSvg
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtTest
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtUiTools
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtWebKit
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtXml
drwxr-xr-x 2 root root 4096 Jul 15 15:27 QtXmlPatterns
Code: Select all
find | grep "\.pro"
./modules/stream_out/chromecast/cast_channel.proto
./doc/libvlc/QtPlayer/QtVLC.pro
Regards.