Necessitas - Qt Creator debug mode not working



  • I have not written a line of code, simply had Qt Wizard generate code for a "Mobile Qt Application". I have configure an AVD device, start an emulator and I get an error saying "The inferior process has stopped because it received a signal from the Operating System." Signal name: SIGILL, Signal Meaning: Illegal Instruction.

    I am also getting the following output from the application:

    bq. Debugging starts
    Target-supplied registers are not supported by the current architecture
    D/dalvikvm( 916): GC_EXTERNAL_ALLOC freed 45K, 53% free 2554K/5379K, external 1625K/2137K, paused 147ms
    D/dalvikvm( 916): GC_EXTERNAL_ALLOC freed 1K, 53% free 2554K/5379K, external 3125K/3903K, paused 84ms
    D/dalvikvm( 916): DexOpt: --- BEGIN 'QtIndustrius-14.jar' (bootstrap=0) ---
    D/dalvikvm( 916): DexOpt: --- END 'QtIndustrius-14.jar' (success) ---
    D/dalvikvm( 916): DEX prep '/data/data/org.kde.necessitas.ministro/files/qt/jar/QtIndustrius-14.jar': unzip in 68ms, rewrite 1038ms
    D/dalvikvm( 916): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x4050eed8
    D/dalvikvm( 916): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x4050eed8
    D/dalvikvm( 916): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtCore.so 0x4050eed8, skipping init
    D/dalvikvm( 916): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x4050eed8
    D/dalvikvm( 916): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x4050eed8
    D/dalvikvm( 916): No JNI_OnLoad found in /data/data/org.kde.necessitas.ministro/files/qt/lib/libQtGui.so 0x4050eed8, skipping init
    D/dalvikvm( 916): Trying to load lib /data/data/org.kde.necessitas.ministro/files/qt/plugins/platforms/android/libandroid-9.so 0x4050eed8
    D/dalvikvm( 916): Added shared lib /data/data/org.kde.necessitas.ministro/files/qt/plugins/platforms/android/libandroid-9.so 0x4050eed8
    I/Qt ( 916): qt start
    D/dalvikvm( 916): Trying to load lib /data/data/org.kde.necessitas.example.a/lib/liba.so 0x405129e8
    D/dalvikvm( 916): Added shared lib /data/data/org.kde.necessitas.example.a/lib/liba.so 0x405129e8
    D/dalvikvm( 916): No JNI_OnLoad found in /data/data/org.kde.necessitas.example.a/lib/liba.so 0x405129e8, skipping init
    /home/chris/Documents/Qt_Necessitas_workspace/a-build-7ef599-Debug/libc.so': Shared library architecture unknown is not compatible with target architecture i386./home/chris/necessitas/Android/Qt/482/armeabi/lib/libQtCore.so': Shared library architecture unknown is not compatible with target architecture i386.
    /home/chris/necessitas/Android/Qt/482/armeabi/lib/libQtGui.so': Shared library architecture unknown is not compatible with target architecture i386./home/chris/necessitas/Android/Qt/482/armeabi/plugins/platforms/android/libandroid-9.so': Shared library architecture unknown is not compatible with target architecture i386.
    `/home/chris/Documents/Qt_Necessitas_workspace/a-build-7ef599-Debug/liba.so': Shared library architecture unknown is not compatible with target architecture i386.
    Unable to find dynamic linker breakpoint function.
    GDB will be unable to debug shared library initializers
    and track explicitly loaded dynamic code.W/Qt ( 916): Can't set environment ""
    W/Qt ( 916): WARNING: QApplication was not created in the main() thread.
    D/Qt ( 916): QAndroidPlatformIntegrationPlugin::create "android"
    I/Qt JAVA ( 916): surfaceChanged: 480,762,480,762
    D/Qt ( 916): Reading json file took 492 ms
    D/Qt ( 916): Parsing json file took 44 ms
    D/Qt ( 916): QAndroidPlatformIntegration::QAndroidPlatformIntegration(): creating QAndroidPlatformScreen => Using Raster (Software) for painting
    Debugging has finished

    I have searched with google and have not been able to find anything. Does anybody have any ideas about what is going on?


  • Moderators

    Hi,

    Welcome to the forum.

    I suggest you go to "necessitas forum":https://groups.google.com/forum/m/?fromgroups#!forum/android-qt
    The maintainers are very active and can give help from the first hand ;)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.