Is it possible to build OSCAR in Qt-Creator? - Printable Version +- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums) +-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area) +--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum) +--- Thread: Is it possible to build OSCAR in Qt-Creator? (/Thread-Is-it-possible-to-build-OSCAR-in-Qt-Creator) |
Is it possible to build OSCAR in Qt-Creator? - JEMH - 10-19-2023 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? RE: Is it possible to build OSCAR in Qt-Creator? - Crimson Nape - 10-19-2023 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 RE: Is it possible to build OSCAR in Qt-Creator? - JEMH - 10-19-2023 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? RE: Is it possible to build OSCAR in Qt-Creator? - Crimson Nape - 10-19-2023 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 RE: Is it possible to build OSCAR in Qt-Creator? - JEMH - 10-20-2023 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. |