Hi all, As I have a few days left for the submission of the limited edition device program, I thought I would be asking for help to see if it is something simple to fix with joint effort as I like cmake. :-)
Otherwise I may need to switch away from cmake, and it will also be a showstopper to start porting KDE to QNX. So, I have the following structure for my buildsystem: http://quickgit.kde.org/?p=scratch%2Flpapp%2Fwikireader.git&a=blob&h=6698cbdac3768199b0198c7388e22e145127b102&hb=1823d473b97c3259c475c92594ed2b452261fa80&f=frontends%2Fblackberry%2FCMakeLists.txt The problem is that, the build finishes without any errors, but when I run the generated binary on the phone, it gets a segfault which does not happen when using qmake from the IDE. Here you can find the build with qmake: http://paste.kde.org/~lpapp/648440/ Here you can find the build with cmake: http://paste.kde.org/~lpapp/648434/ This is the segfault with the binary built by cmake: Process 14692534 (wikireader) terminated SIGSEGV code=1 fltno=11 ip=7843bf7c(/base/lib/libcpp.so.4@_ZNKSt6locale9_GetfacetEj+0x27) mapaddr=0002bf7c. ref=00000010 Here you can find the pro files generated by the IDE for qmake: WikiReader.pro: APP_NAME = WikiReader CONFIG += qt warn_on cascades10 INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtNetwork DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtNetwork QT += network INCLUDEPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtXml DEPENDPATH += ../src ${QNX_TARGET}/usr/include/qt4/QtXml QT += xml include(config.pri) config.pri: cat WikiReader/config.pri # Auto-generated by IDE. All changes by user will be lost! # Created at 16/01/13 2:53 AM BASEDIR = $$_PRO_FILE_PWD_ INCLUDEPATH += \ $$BASEDIR/src SOURCES += \ $$BASEDIR/src/main.cpp \ $$BASEDIR/src/wikimodel.cpp HEADERS += \ $$BASEDIR/src/wikimodel.h CONFIG += precompile_header PRECOMPILED_HEADER = $$BASEDIR/precompiled.h lupdate_inclusion { SOURCES += \ $$BASEDIR/../assets/*.qml } TRANSLATIONS = \ $${TARGET}.ts Laszlo
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake