Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Help with Kit specific configuration please
I have setup QT 5.4 and am using QT creator 3.3 which makes my life a lot more easier. So I have set up the creator to run for both Android and Desktop.
The problem (rather pain) I have is, I have to modify my project (*.pro) file for each build. For example, if I am building for Android, I have to modify the project.pro file to point to arm libraries rather than the x86 linux libraries for PC. This changes needs to be reverted when I build for PC. Is there a flag or MACRO, I can use within the *.pro file to choose the libraries based on platform?
t3685 last edited by
Check out this page http://qt-project.org/doc/qt-4.8/qmake-advanced-usage.html
Thank you t3685. I found my answer in "link":http://stackoverflow.com/questions/18104716/how-to-specify-libraries-only-for-android-platform-build-in-pro-file for anybody in future :).
I see some of the posts marked as solved. But cant find how! How do I mark this thread as solved?
[quote author="tonysonney" date="1423831654"]I see some of the posts marked as solved. But cant find how! How do I mark this thread as solved?[/quote]It's currently a manual process: Go to your original post, click "Edit", and add "[SOLVED]" to your title.
Oh, I see. Thank you.