I am developing a relatively large application using Qt, SystemC, and QCustomPlot libraries. When debugging, it takes a long time for those libraries to load. How can I combine (at CMake level) my own source in debug mode and the mentioned libraries in release mode (or at least without debugging)?
-
Generally not possible because of ABI incompatibilities. You can try building "Release" with disabled optimizations in your code though.Osyotr– Osyotr2025-10-26 10:12:24 +00:00Commented Oct 26 at 10:12
-
1As said not possible, if you're developing a large application you should be able it into seperate smaller testable and debugable units. E.g. have your business logic implemented in a seperate unit testable lib without depending on Qt libraries ate all.Pepijn Kramer– Pepijn Kramer2025-10-26 11:12:33 +00:00Commented Oct 26 at 11:12
-
Thanks for the reply. I am trying to build smaller testable and debuggable units, and to economize the time of loading those libraries.katang– katang2025-10-28 14:51:34 +00:00Commented Oct 28 at 14:51
Add a comment
|