Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML remote debugging doesn't work - symbol lookup error, undefined symbol

$
0
0
Remote debugging from host doesn’t work with my first QML application. But debugging the same QML application on the desktop works! In contrast debugging of Qt widget based applications without QML works fine (in both cases embedded device and desktop). The QML application is a simply “Hello World” application which was generated with the wizard (Qt Quick 1 application). Here is the .pro file: # Add more folders to ship with the application, here folder_01.source = qml/firstqml folder_01.target = qml DEPLOYMENTFOLDERS = folder_01   # Additional import path used to resolve QML modules in Creator's code model QML_IMPORT_PATH =   # If your application uses the Qt Mobility libraries, uncomment the following # lines and add the respective components to the MOBILITY variable. # CONFIG += mobility # MOBILITY +=   # Speed up launching on MeeGo/Harmattan when using applauncherd daemon # CONFIG += qdeclarative-boostable   # The .cpp file which was generated for your project. Feel free to hack it. SOURCES += main.cpp   # Installation path target.path += /home/root INSTALLS += target   # Please do not modify the following two lines. Required for deployment. include(qmlapplicationviewer/qmlapplicationviewer.pri) qtcAddDeployment() On the host side I’m using an Ubuntu 12.04 LTS virtual machine with Qt Creator 2.7.0 and Qt4.8.0 libraries for the desktop kit. The target is an Embedded Linux (Armstrong) ARM Cortex A8 device. For it I installed the “ti-sdk-am335x-evm-05.06.00.00” inluding the linux-devkit with Qt4.8.0 libraries for Embedded Linux. Here is the qmake of the debug build configuration: qmake /home/bschoefmann/Data/X5/test/firstqml/src/firstqml/firstqml.pro -r -spec linux-gnueabi-oe-g++ CONFIG+=debug CONFIG+=declarative_debug When I try to start debugging with the Qt Creator (F5) I get the following respond from the application: Process /home/root/firstqml created; pid = 2132 Listening on port 10000 Remote debugging from host 192.168.0.110 /home/root/firstqml: symbol lookup error: /home/root/firstqml: undefined symbol: _ZN28QDeclarativeDebuggingEnablerC1Ev Child exited with status 127 GDBserver exiting The debugger-log shows: /home/root/firstqml: symbol lookup error: /home/root/firstqml: undefined symbol: _ZN28QDeclarativeDebuggingEnablerC1Ev >=thread-group-exited,id="i1",exit-code="0177" What causes this problem? What do I make wrong? Any suggestions? Many thanks in advance!

Viewing all articles
Browse latest Browse all 4972

Trending Articles