Post Reply 
SleepyHead 1.0.0 Linux
Author Message
pholynyk Online

Advisory Members

Posts: 305
Joined: Mar 2015

Machine: ResMed AirSense 10 APAP
Mask Type: Full face mask
Mask Make & Model: Amara View
Humidifier: included
CPAP Pressure: 11-17
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Ontario, Canada

Post: #11
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.
04-13-2016 05:38 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
kazoni Offline

Members

Posts: 11
Joined: Feb 2016

Machine: ResMed Airsense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: ResMed Airfit N10
Humidifier: ResMed Airsense 10 Auto
CPAP Pressure: 5-10
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location:

Post: #12
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.
04-13-2016 10:51 PM
Find all posts by this user Post Reply Quote this message in a reply
palerider Offline

Preferred Members-

Posts: 440
Joined: Nov 2014

Machine: s9 vpap auto
Mask Type: Nasal pillows
Mask Make & Model: p10
Humidifier: none
CPAP Pressure: 18/13+
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Dallas(ish)

Post: #13
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.
04-14-2016 01:03 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
kazoni Offline

Members

Posts: 11
Joined: Feb 2016

Machine: ResMed Airsense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: ResMed Airfit N10
Humidifier: ResMed Airsense 10 Auto
CPAP Pressure: 5-10
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location:

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

Dont-know
04-14-2016 03:48 PM
Find all posts by this user Post Reply Quote this message in a reply
palerider Offline

Preferred Members-

Posts: 440
Joined: Nov 2014

Machine: s9 vpap auto
Mask Type: Nasal pillows
Mask Make & Model: p10
Humidifier: none
CPAP Pressure: 18/13+
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Dallas(ish)

Post: #15
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
04-14-2016 04:12 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
kazoni Offline

Members

Posts: 11
Joined: Feb 2016

Machine: ResMed Airsense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: ResMed Airfit N10
Humidifier: ResMed Airsense 10 Auto
CPAP Pressure: 5-10
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location:

Post: #16
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?
04-14-2016 07:39 PM
Find all posts by this user Post Reply Quote this message in a reply
palerider Offline

Preferred Members-

Posts: 440
Joined: Nov 2014

Machine: s9 vpap auto
Mask Type: Nasal pillows
Mask Make & Model: p10
Humidifier: none
CPAP Pressure: 18/13+
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location: Dallas(ish)

Post: #17
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
04-14-2016 08:36 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
kazoni Offline

Members

Posts: 11
Joined: Feb 2016

Machine: ResMed Airsense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: ResMed Airfit N10
Humidifier: ResMed Airsense 10 Auto
CPAP Pressure: 5-10
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location:

Post: #18
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
04-14-2016 10:48 PM
Find all posts by this user Post Reply Quote this message in a reply
GuyM Offline

Members

Posts: 4
Joined: Mar 2016

Machine: Resmed AirSense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: unsure
Humidifier: none
CPAP Pressure: unsure
CPAP Software: Not using software

Other Comments:

Sex: Undisclosed
Location:

Post: #19
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!
05-21-2016 09:40 AM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
kazoni Offline

Members

Posts: 11
Joined: Feb 2016

Machine: ResMed Airsense 10 Auto
Mask Type: Nasal mask
Mask Make & Model: ResMed Airfit N10
Humidifier: ResMed Airsense 10 Auto
CPAP Pressure: 5-10
CPAP Software: SleepyHead

Other Comments:

Sex: Male
Location:

Post: #20
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. 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
05-21-2016 10:04 PM
Find all posts by this user Post Reply Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Idea SleepyHead and Linux MartinT 3 86 11-29-2016 07:41 AM
Last Post: OpalRose
  did Linux corrupt my SD card? AirPlease 6 834 09-23-2016 02:06 AM
Last Post: zagam
  SleepyHead and Linux Mint 17.3 (Ubuntu 14.04) necochino 4 263 08-21-2016 07:16 PM
Last Post: pholynyk
  Oximetry - Do any of the pulse oximeters work with linux? happydreams 47 5,142 07-17-2016 08:31 AM
Last Post: johanh
  Building SleepyHead on Linux archangle 38 7,415 04-09-2016 12:40 PM
Last Post: happydreams
  Add Linux download to the Sleep Files site hfinger 11 1,082 01-13-2016 05:48 PM
Last Post: DariaVader
  SleepyHead and Linux Sleepster 31 6,076 05-02-2014 08:45 AM
Last Post: SnuffySleeper

Forum Jump:

Who's Online (Complete List)