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

OSCAR Release v1.1.0 [older version]
#81
RE: OSCAR Release v1.1.0
So, you are trying to compile a 1.1.1 alpha ?
--> with git clone or git pull from pholy git master branch.

Sorry but the purpose is to make the same thing as you did.
From France. English spoken. Equipped since end of 2009. Currently RedMed S9.
Linux user since 2009 --> current main distribution : Xubuntu 18.04
LUG (named ALDIL) Member since 2015. certifications : ITIL © and ISTQB©








Donate to Apnea Board  
#82
RE: OSCAR Release v1.1.0
The latter; "git pull from pholy git master branch."
Caveats: I'm just a patient, with no medical training.
#83
RE: OSCAR Release v1.1.0
(04-30-2020, 04:45 AM)slowriter Wrote: Not sure where to put this, but getting this error building from git, on linux.

Code:
oscar/main.cpp:201:122: error: enum constant in boolean context [-Werror=int-in-bool-context]
 201 |                        "\n\n"+QObject::tr("You cannot use this folder:")+" " + datadir ), QMessageBox::Ok) {
     |                                                                                           ~~~~~~~~~~~~~^~

cc1plus: all warnings being treated as errors

This isn't a boolean test. It's a change in the Qt API that's triggering errors. The arguments at the end of QMessageBox used to be enums indicating which buttons to present or possibly the default button.

We haven't changed this code in a while.

Problems like this are a large part of the reason we're not officially building with Qt 5.13 right now. Frankly, I stilll think we should abandon the goal of trying to use whatever version of Qt that's part of whatever version of Linux someone happens to be running, and ship the 5.12 libraries with our package. If an official distro maintainer wants to add OSCAR to their repo and use their repo's version of Qt, they can deal with the versioning hell themselves.

Unless someone wants to pick up the mantle of Qt compatibility czar and merge well-tested changes that are compatible from 5.9 up through 5.14 (and soon 5.15)...
#84
RE: OSCAR Release v1.1.0
I have merged a fix to this problem in main.cpp. See if you can download and compile this version ok.

The statement throwing the error was nonsensical.
The current version of OSCAR is 1.2.0.  We recommend upgrading from any earlier version.

Useful links
Download OSCAR
Best way to organize charts
How to attach charts to your post

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.






Donate to Apnea Board  
#85
RE: OSCAR Release v1.1.0
(04-30-2020, 10:34 AM)sawinglogz Wrote: We haven't changed this code in a while.

I started matching up the parentheses and brackets, looked at what the 'if' statement was doing, and finally had a WTF! moment.  Huhsign

The QMessageBox::ok was in the context of the if clause, not a parameter to QMessageBox::Warning.  So the warning was correct about it being a boolean problem.

Even old code can have errors.
The current version of OSCAR is 1.2.0.  We recommend upgrading from any earlier version.

Useful links
Download OSCAR
Best way to organize charts
How to attach charts to your post

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
#86
RE: OSCAR Release v1.1.0
I have the same issue : it seems that QMessageBox::Ok is not present in the new QT version.
I search a work around by installing a packet.
From France. English spoken. Equipped since end of 2009. Currently RedMed S9.
Linux user since 2009 --> current main distribution : Xubuntu 18.04
LUG (named ALDIL) Member since 2015. certifications : ITIL © and ISTQB©


#87
RE: OSCAR Release v1.1.0
(04-30-2020, 10:47 AM)GuyScharf Wrote: I have merged a fix to this problem in main.cpp.  See if you can download and compile this version ok.

Yes, that fixed it; thanks!

On the larger library version support issue, just putting this out there for the wider linux OSCAR world; this is not a critique.

There are two reasons I started building from master:
  1. to test out new features (like the new dreem loader)
  2. to have OSCAR installed and working on my system
On 2, Fedora and related RPM-based distros have no up-to-date package available for OSCAR, even on copr. There's this, but it's months out of date, with no repo for fedora 32 (which, to be fair, was just released this week).

In the absence of that, 1 has worked well for me; it's only broken I think twice in the past few months, and then is promptly fixed.

But I''m not sure what I'd do if I could neither easily build or have access to a package.

So for any enterprising person with package management experience and a need, this would be a welcome addition. 

I've previously wondered if the opensuse OBS system might make it easier to support packages for multiple systems?
Caveats: I'm just a patient, with no medical training.






Donate to Apnea Board  
#88
RE: OSCAR Release v1.1.0
I have proposed a mkRedHat.sh. Philip will check it and maybe use it to put a rpm package.
I've tested my version (which must be consider as a draft and not a official one ) with fedora 31 : it works.
From France. English spoken. Equipped since end of 2009. Currently RedMed S9.
Linux user since 2009 --> current main distribution : Xubuntu 18.04
LUG (named ALDIL) Member since 2015. certifications : ITIL © and ISTQB©


#89
RE: OSCAR Release v1.1.0
(04-30-2020, 09:16 AM)slowriter Wrote:
(04-30-2020, 09:09 AM)Crimson Nape Wrote: Slowriter - There have been posts regarding Qt 5.13 having compile problems with the code.  The OSCAR team has elected to use LTS versions and are currently using Qt 5.12.8.   I hope this may solve your problem.

I doubt it's straightforward for me to go back to an earlier compiler (I just use the defaults in my package manager), but will check.

Update on this.

I was optimistic I could use dnf downgrade to roll back to 5.12.5, but I guess since I'm on a new release, no dice:

Code:
Package qt5-devel of lowest version already installed, cannot downgrade it.
Caveats: I'm just a patient, with no medical training.
#90
RE: OSCAR Release v1.1.0
Sounds like we've resolved this particular issue, so we can defer the Qt version issue for another day...






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
  Hello Oscar ー Goodbye Oscar Hmm888 1 143 04-13-2021, 12:24 PM
Last Post: SarcasticDave94
  OSCAR - The Guide [Using & Interpeting OSCAR results] SuperSleeper 0 371 03-27-2021, 10:30 AM
Last Post: SuperSleeper
  New Contec CMS50F, what is the version? wwsleep 16 2,239 03-21-2021, 10:48 PM
Last Post: odoyle
Question Downloading new version of Oscar caused it to stop working [solution, see post #3] mjpinsky 7 867 02-06-2021, 02:50 PM
Last Post: GuyScharf
  Updated to 1.2.0 version error question?? Sleepy Time Gal 2 138 02-05-2021, 11:04 AM
Last Post: Sleepy Time Gal
  Oscar to an older computer EeVee 29 783 01-01-2021, 06:23 PM
Last Post: midwestguy
  Where is OSCAR_Data in 1.1.1 version ? AirPress 11 440 08-17-2020, 11:46 AM
Last Post: AirPress


New Posts   Today's Posts






About Apnea Board

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