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

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 818 03-25-2024, 08:46 PM
Last Post: Pierelly
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 136 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 437 10-26-2023, 10:54 AM
Last Post: Crimson Nape
  F12/Take Screenshot Not Saving Screenshot under Linux? DigitalMan43 4 671 09-30-2023, 05:04 PM
Last Post: DigitalMan43
  o2 insight pro on linux Jim Vader 10 1,392 08-16-2023, 07:00 AM
Last Post: data01
  OSCAR for Ubuntu Linux "blocked and dangerous" edgreenberg 3 743 07-17-2023, 06:27 AM
Last Post: edgreenberg
  Feature Request - OSCAR Linux rammjet 3 627 07-09-2023, 09:04 PM
Last Post: rammjet


New Posts   Today's Posts


About Apnea Board

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