RE: SleepyHead 1.0.0 Linux
Quote:
apt-get says I have it:
unquote
The problem is that apt-get puts things where the Desktop kit will find it, and uses the Qt version that its repositories point to.
If you downloaded Qt5.6 from qt.io you should have the Qt Maintenance Tool. Use that to add modules to your 5.6 Kit, and all should be well - or at least better.
RE: SleepyHead 1.0.0 Linux
(04-13-2016, 05:24 PM)palerider Wrote: how about libqt5widgets5?
Latest version installed.
(04-13-2016, 05:38 PM)pholynyk Wrote: The problem is that apt-get puts things where the Desktop kit will find it, and uses the Qt version that its repositories point to.
If you downloaded Qt5.6 from qt.io you should have the Qt Maintenance Tool. Use that to add modules to your 5.6 Kit, and all should be well - or at least better.
Everything (except the 2 android kits) is installed there as well.
RE: SleepyHead 1.0.0 Linux
installed where?
the downloaded qt installs in /opt/qtsomething, and all its libs are under there, if you're using that qmake, then it'll be pulling from there, and apt-get, dpkg, etc don't know anything about it.
RE: SleepyHead 1.0.0 Linux
(04-14-2016, 01:03 AM)palerider Wrote: installed where?
the downloaded qt installs in /opt/qtsomething, and all its libs are under there, if you're using that qmake, then it'll be pulling from there, and apt-get, dpkg, etc don't know anything about it.
Ok, I went nuclear on QT and stripped out as much as I could since I had several different versions. I found a PPA for Qt 5.6 and installed it. Nuked everything SleepyHead related and started fresh.
Code:
me@BlackKnight ~ $ git clone /sleepyhead/sleepyhead-code.git sleepyhead-code
Cloning into 'sleepyhead-code'...
remote: Counting objects: 18259, done.
remote: Compressing objects: 100% (3675/3675), done.
remote: Total 18259 (delta 14530), reused 18214 (delta 14498)
Receiving objects: 100% (18259/18259), 12.32 MiB | 781.00 KiB/s, done.
Resolving deltas: 100% (14530/14530), done.
Checking connectivity... done.
me@BlackKnight ~ $ mkdir sleepyhead-build
mkdir: created directory ‘sleepyhead-build’
me@BlackKnight ~ $ cd sleepyhead-build/
me@BlackKnight ~/sleepyhead-build $ qmake -v
QMake version 3.0
Using Qt version 5.6.0 in /opt/qt56/lib
me@BlackKnight ~/sleepyhead-build $ qmake ../sleepyhead-code/SleepyHeadQT.pro
me@BlackKnight ~/sleepyhead-build $ make
cd sleepyhead/ && ( test -e Makefile || /opt/qt56/bin/qmake /home/me/sleepyhead-code/sleepyhead/sleepyhead.pro -o Makefile ) && make -f Makefile
Project MESSAGE: Building with QGLWidget gGraphView
Project ERROR: Unknown module(s) in QT: webkitwidgets
make: *** [sub-sleepyhead-make_first-ordered] Error 3
me@BlackKnight ~ $
RE: SleepyHead 1.0.0 Linux
what os are you trying to build on?
do you have these files under /opt/qt56/
./Src/qtwebkit/include/QtWebKitWidgets/qtwebkitwidgetsversion.h
./Src/qtwebkit-examples/examples/webkitwidgets
./Src/qtwebkit-examples/examples/webkitwidgets/webkitwidgets.pro
./gcc_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri
./gcc_64/mkspecs/modules/qt_lib_webkitwidgets.pri
./gcc_64/include/QtWebKitWidgets/qtwebkitwidgetsversion.h
RE: SleepyHead 1.0.0 Linux
(04-14-2016, 04:12 PM)palerider Wrote: what os are you trying to build on?
Linux Mint 17.3 (Rosa) which is built off Ubuntu 14.04.4 LTS (Trusty) on a 64-bit laptop
(04-14-2016, 04:12 PM)palerider Wrote: do you have these files under /opt/qt56/
./Src/qtwebkit/include/QtWebKitWidgets/qtwebkitwidgetsversion.h
./Src/qtwebkit-examples/examples/webkitwidgets
./Src/qtwebkit-examples/examples/webkitwidgets/webkitwidgets.pro
./gcc_64/mkspecs/modules/qt_lib_webkitwidgets_private.pri
./gcc_64/mkspecs/modules/qt_lib_webkitwidgets.pri
./gcc_64/include/QtWebKitWidgets/qtwebkitwidgetsversion.h
Nope, I can find them elsewhere (the QT5 that the system knows about) but not in my 5.6 folders. If I throw copies in there in the right places, think it'd work?
RE: SleepyHead 1.0.0 Linux
ahhh, yes. I remember watkins ranting about this.... qt removed webkit from 5.6.
you need to get 5.4 or 5.5.
scroll down to 'removed modules'
https://wiki.qt.io/New_Features_in_Qt_5.6
RE: SleepyHead 1.0.0 Linux
That worked!! Downgraded to 5.5 and it built just fine and it's up and running! Many thanks!
For those who stumble across this, here's what I did for Linux Mint 17.3/Ubuntu 14.04.4 LTS
Code:
$ sudo add-apt-repository ppa:beineri/opt-qt551-trusty
$ sudo apt-get update
$ sudo apt-get install qt55-meta-full
$ source /opt/qt55/bin/qt55-env.sh
$ cd ~
$ git clone https://gitlab.com/sleepyhead/sleepyhead-code.git sleepyhead-code
$ mkdir sleepyhead-build && cd sleepyhead-build
$ qmake ../sleepyhead-code/SleepyHead.pro
$ make
RE: SleepyHead 1.0.0 Linux
Many thanks for posting this! It helped me a lot. Just a quick note, on my machine I had to type in "qmake ../sleepyhead-code/SleepyHeadQT.pro". Figured I'd mention it in case anyone gets tripped up. Thanks again!
RE: SleepyHead 1.0.0 Linux
(05-21-2016, 09:40 AM)GuyM Wrote: Many thanks for posting this! It helped me a lot. Just a quick note, on my machine I had to type in "qmake ../sleepyhead-code/SleepyHeadQT.pro". Figured I'd mention it in case anyone gets tripped up. Thanks again!
GAH! You're right.
I spent too much time beating it into submission that night.
Here's the correct code:
Code:
$ sudo add-apt-repository ppa:beineri/opt-qt551-trusty
$ sudo apt-get update
$ sudo apt-get install qt55-meta-full
$ source /opt/qt55/bin/qt55-env.sh
$ cd ~
$ git clone https://gitlab.com/sleepyhead/sleepyhead-code.git sleepyhead-code
$ mkdir sleepyhead-build && cd sleepyhead-build
$ qmake ../sleepyhead-code/SleepyHeadQT.pro
$ make