Project output

In order to let our cm-ui project know where to find the implementation of cm-lib, we used the LIBS variable in our project file. It was a pretty ugly folder name, but it’s only one line and everything has worked perfectly well, so it could be tempting to leave things as they are. However, look forward to when we are ready to produce our first build for testing or even production. We’ve written some really clever code, and everything is building and running beautifully. We switch the configuration from Debug to Release and...everything falls over. The problem is that we’ve hard-coded the library path in our project file to look in the Debug folder. Change to a different kit or another operating system and the problem is even ...

Get Learn Qt 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.