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

Is it possible to build OSCAR in Qt-Creator?
#1
Is it possible to build OSCAR in Qt-Creator?
On my MacBook Pro I have been able to build OSCAR from the command line by following the instructions given in BUILD-mac.md.

I have imported data from my Löwenstein Prisma20A and see the message that the ventilator device is "Löwenstein unknown-prismaline".
I would like to check the data import process via the debugger in Qt-Creator. However, I do not know how to configure Qt-Creator to build/debug OSCAR.
Could anyone tell me how to setup an OSCAR project in Qt-Creator (on MacOS) so that I can run/debug OSCAR?
Post Reply Post Reply
#2
RE: Is it possible to build OSCAR in Qt-Creator?
You will need to disable the Qt Quick Compiler option in the build settings. Other than that, you should be able to build OSCAR in either Debug, Release, or Profile modes.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: Is it possible to build OSCAR in Qt-Creator?
Thank you for the quick reply.
I believe that I have now followed the instructions in BUILD-mac.md for Qt-Creator (including the disabling of the Qt Quick Compiler). Unfortunately I am still having problems:

22:49:49: Running steps for project oscar...



22:49:49: Starting: "/Users/admin/Qt/5.15.2/clang_64/bin/qmake" /Users/admin/qt_projects/OSCAR-code-master-19102023/oscar/oscar.pro -spec macx-clang CONFIG-=qml_debug CONFIG-=qtquickcompiler

Info: creating stash file /Users/admin/qt_projects/OSCAR-code-master-19102023/build-oscar-Desktop_Qt_5_15_2_clang_64bit-Release2/.qmake.stash

Project ERROR: failed to parse default search paths from compiler output



22:49:50: The process "/Users/admin/Qt/5.15.2/clang_64/bin/qmake" exited with code 3.

Error while building/deploying project oscar (kit: Desktop Qt 5.15.2 clang 64bit)

When executing step "qmake"
22:49:50: Elapsed time: 00:00.

Have I perhaps missed something in the project configuration?
Post Reply Post Reply
#4
RE: Is it possible to build OSCAR in Qt-Creator?
Are all your paths legitimate? Open the "Makefile" and the ".qmake.stash" files and see what paths they are using. They are both text files.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#5
RE: Is it possible to build OSCAR in Qt-Creator?
Thank you for taking the time to answer my questions.
I started again from scratch and followed your instructions.
I was then able to build OSCAR in QtCreator successfully.
Thanks again.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR build errors on MacOS JEMH 2 796 08-23-2023, 11:38 AM
Last Post: JEMH
  Build errors while trying to debug OSCAR in Qt on Windows 10 [resolved, see Post #19] Scarmen 25 4,021 04-24-2020, 01:00 PM
Last Post: sawinglogz
  Sleepy head - old build gpk111 10 2,381 11-09-2018, 01:46 PM
Last Post: Crimson Nape
  Two things to change for next build CPAPreturnee 1 1,345 05-23-2017, 12:32 PM
Last Post: Crimson Nape
  FlashAir & W10 build 1607 troubles natyprueba 0 1,450 09-04-2016, 11:31 AM
Last Post: natyprueba


New Posts   Today's Posts


About Apnea Board

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