Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

SleepyHead 1.0.0 Linux
#11
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.
Post Reply Post Reply
#12
(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.
Post Reply Post Reply
#13
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.
Post Reply Post Reply


#14
(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 ~ $

Dont-know
Post Reply Post Reply
#15
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

Post Reply Post Reply
#16
(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?
Post Reply Post Reply


#17
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
Post Reply Post Reply
#18
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
Post Reply Post Reply
#19
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!
Post Reply Post Reply


#20
(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. Oops 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
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Idea SleepyHead and Linux MartinT 11 551 12-30-2016, 11:35 AM
Last Post: Crimson Nape
  did Linux corrupt my SD card? AirPlease 6 981 09-23-2016, 02:06 AM
Last Post: zagam
  SleepyHead and Linux Mint 17.3 (Ubuntu 14.04) necochino 4 482 08-21-2016, 07:16 PM
Last Post: pholynyk
  Oximetry - Do any of the pulse oximeters work with linux? happydreams 47 6,187 07-17-2016, 08:31 AM
Last Post: johanh
  Building SleepyHead on Linux archangle 38 8,231 04-09-2016, 12:40 PM
Last Post: happydreams
  Add Linux download to the Sleep Files site hfinger 11 1,379 01-13-2016, 05:48 PM
Last Post: DariaVader
  SleepyHead and Linux Sleepster 31 6,830 05-02-2014, 08:45 AM
Last Post: SnuffySleeper

Forum Jump:

New Posts   Today's Posts




About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.

For any more information, please use our contact form.