Edit: just realized I had my qt includes left over from trying to build with qt5, the compilation errors I linked in this post are because of this, will clean and try again
Edit Edit: qt4 package on arch linux has no /usr/include/qt4/QtCore/private (I think that is what this is looking for)
| src/declarative/WDeclarativeMouseArea.cpp:35:31: fatal error: private/qobject_p.h: No such file or directory
#include <private/qobject_p.h>
^
|
The head of
https://code.qt.io/cgit/qt/qt.git has qobject_p.h in src/corelib/kernel
Had some time this afternoon to try to compile Sky with qt4, here is a dump of the compilation errors:
https://gist.github.com/miotatsu/b3dbb2f33e7f22f4a3ce3da783fc100b
I haven't gotten around to looking into them yet, if anyone else wants to poke around in the meantime though those compiler errors should point you towards whatever needs to be changed to build on linux
This is the configure,sh that I use:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38 | #!/bin/sh
Qt5_version="5.7.0"
bin4="bin"
bin5="latest"
if [ $# != 1 ] || [ $1 != "qt4" -a $1 != "qt5" -a $1 != "clean" ]; then
echo "Usage: configure <qt4 | qt5 | clean>"
exit 1
fi
if [ $1 = "clean" ]; then
rm -rf lib
mkdir lib
touch lib/.gitignore
rm -rf "$bin4"
mkdir "$bin4"
touch "$bin4"/.gitignore
rm -rf "$bin5"
mkdir "$bin5"
touch "$bin5"/.gitignore
rm -rf include/Qt
rm -rf include/vlc
rm -rf include/libtorrent
rm -rf include/Boost
exit 0
fi
if [ $1 = "qt5" ]; then
mkdir include/Qt
mkdir include/Qt/QtCore
mkdir include/Qt/QtCore/private
cp /usr/include/qt/QtCore/* include/Qt/QtCore
cp /usr/include/qt/QtCore/"$Qt5_version"/QtCore/private/* include/Qt/QtCore/private
mkdir include/Qt/QtDeclarative
mkdir include/Qt/QtDeclarative/private
cp /usr/include/qt/QtDeclarative/* include/Qt/QtDeclarative
cp /usr/include/qt/QtDeclarative/"$Qt5_version"/QtDeclarative/private/* include/Qt/QtDeclarative/private
fi
cp -r /usr/include/vlc include
cp -r /usr/include/torrent include
cp -r /usr/include/boost include
|
For those on arch linux, here are some helpful links for you:
https://wiki.archlinux.org/index.php/Qt
Qt package search results:
https://www.archlinux.org/package...x86_64&q=qt5&maintainer=&flagged= (scroll to packages starting with "qt5-")
https://www.archlinux.org/package...&arch=x86_64&flagged=&maintainer=
Quick install dependencies for Sky & MotionBox: `pacman -S qt4 qtwebkit vlc libtorrent-rasterbar boost openssl`
I currently build with `qmake-qt4 -r` (run once) `make` (to build)