I looked at QtCore.qbs module and saw that they simply add -Dmain=qtmn macro. AFAIK that should be enough. Is it possible that my main is not linked because it is in a separate static lib?
Иван Комиссаров 7 авг. 2015 г., в 18:19, Tor Arne Vestbø <tor.arne.ves...@digia.com> написал(а): > GYP is not supported, but if you want to hack up things yourself, you'll have > to replicate the logic from the iOS qt.prf in the mkspec. > > For 5.5 that would be calling the rename_main.sh script. For dev, you can > just add -Wl,-e,_qt_main_wrapper to the linker command line. > > See c937bbb4fe708f7f873ca630c6ff225f9a3f9ace > > tor arne _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest