×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    .dso file not found. problem config. qtmobility project

    Hello folks,

    i've som trouble getting my own project started with QtMobility. I'm developing with Qt Creator and the plain Qt Applikations i developed so far, are working nicely on my Nokia 5800. I've downloaded the current version of QtMobility ver. 1.0.0 beta 1 on my windows 7 system. Run configure.bat and make and also make install, so that i have all *.dll, *.a and headers under C:\QtMobility. Then i tried to compile an example "audiorecorder"
    but the compiler stops and complains he is missing a \S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\release\armv5\LIB\QtMedia.dso
    which i dont know how to get...
    further i've tried to include QtMobility into a existing project
    Here's my .pro file

    Code:
    # -------------------------------------------------
    # Project created by QtCreator 2010-01-10T15:08:38
    # -------------------------------------------------
    TARGET = VMA-Qt-Server
    TEMPLATE = app
    SOURCES += main.cpp \
        vmawindow.cpp
    HEADERS += vmawindow.h \
        httpdaemon.h \
        vmaserverservice.h
    FORMS += vmawindow.ui
    QT += network \
        script #....
    
    CONFIG += mobility
    MOBILITY += systeminfo
    
    LIBS += -LC:/QtMobility/lib -lQtSystemInfo
    win32:INCLUDEPATH += "./boost"
    INCLUDEPATH += "C:/QtMobility/include"
    relevant header and cpp file:

    Code:
    #ifndef VMAWINDOW_H
    #define VMAWINDOW_H
    
    #include <QMainWindow>
    
    #ifdef Q_OS_SYMBIAN
    #include <qsysteminfo.h>
    #else
    #include <QSystemInfo>
    #endif
    
    namespace Ui {
        class VMAWindow;
    }
    
    class VMAWindow : public QMainWindow {
        Q_OBJECT
    public:
        VMAWindow(QWidget *parent = 0);
        ~VMAWindow();
    
    protected:
        void changeEvent(QEvent *e);
    
    private:
        Ui::VMAWindow *ui;
    
    private slots:
        void on_pushButton_clicked();
    };
    
    #endif // VMAWINDOW_H
    
    using namespace QtMobility;
    void VMAWindow::on_pushButton_clicked()
    {
    
        QString text = ui->lineEdit->text();
        std::string s(text.toStdString());
        std::vector <ServiceConstHandle> childs;
        childs = root->getAllChilds();
        std::vector<ServiceConstHandle>::iterator it;
        for(it=childs.begin(); it!=childs.end(); ++it){
            ui->listWidget->addItem(QString::fromStdString((*it)->getURI()));
        }
        QSystemInfo sys;
    
         ui->listWidget->addItem(QObject::tr("hello ").append(sys.currentCountryCode()));
    
    }
    build output, where it complains about a missing "\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\release\armv5\LIB\QtSystemInfo.dso" file too:

    Code:
    Führe Build-Schritte für Projekt VMA-Qt-Server aus...
    Starte: c:/qt/4.6.0/bin/qmake.exe C:/Users/stephan/Documents/VMA-Qt-Server/VMA-Qt-Server.pro -spec symbian-abld -r 
    Beendet mit Rückgabewert 0.
    Starte: C:/S60/devices/S60_5th_Edition_SDK_v1.0_2/epoc32/tools/make.exe debug-gcce -w 
    C:\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\tools\make.exe: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    bldmake bldfiles
    ABLD.BAT build gcce udeb
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\EXPORT.make" EXPORT VERBOSE=-s
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    Nothing to do
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\GCCE.make" MAKEFILE VERBOSE=-s
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -s -C \Users\stephan\Documents\VMA-Qt-Server -f "MAKEFILE_0XE2E03734.MK" TO_ROOT=..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\MAKEFILE_0XE2E03734\GCCE TO_BLDINF=..\..\..\..\Users\stephan\Documents\VMA-Qt-Server PLATFORM=GCCE MAKMAKE
    perl -S makmake.pl -D \Users\stephan\Documents\VMA-Qt-Server\VMA-QT-SERVER_0XE2E03734 GCCE
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\GCCE.make" LIBRARY VERBOSE=-s
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -s -C \Users\stephan\Documents\VMA-Qt-Server -f "MAKEFILE_0XE2E03734.MK" TO_ROOT=..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\MAKEFILE_0XE2E03734\GCCE TO_BLDINF=..\..\..\..\Users\stephan\Documents\VMA-Qt-Server PLATFORM=GCCE LIB
    make -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\VMA-QT-SERVER_0XE2E03734\GCCE\VMA-QT-SERVER_0XE2E03734.GCCE" LIBRARY
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\GCCE.make" RESOURCE CFG=UDEB VERBOSE=-s
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -s -C \Users\stephan\Documents\VMA-Qt-Server -f "MAKEFILE_0XE2E03734.MK" TO_ROOT=..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\MAKEFILE_0XE2E03734\GCCE TO_BLDINF=..\..\..\..\Users\stephan\Documents\VMA-Qt-Server PLATFORM=GCCE CFG=UDEB RESOURCE
    make -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\VMA-QT-SERVER_0XE2E03734\GCCE\VMA-QT-SERVER_0XE2E03734.GCCE" RESOURCEUDEB
    
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\GCCE.make" TARGET CFG=UDEB VERBOSE=-s
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -s -C \Users\stephan\Documents\VMA-Qt-Server -f "MAKEFILE_0XE2E03734.MK" TO_ROOT=..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\MAKEFILE_0XE2E03734\GCCE TO_BLDINF=..\..\..\..\Users\stephan\Documents\VMA-Qt-Server PLATFORM=GCCE CFG=UDEB BLD
    make -s -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\VMA-QT-SERVER_0XE2E03734\GCCE\VMA-QT-SERVER_0XE2E03734.GCCE" UDEB
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -r -f "\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\Users\stephan\Documents\VMA-Qt-Server\GCCE.make" FINAL CFG=UDEB VERBOSE=-s
    make[2]: *** No rule to make target `\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\release\armv5\LIB\QtSystemInfo.dso', needed by `\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\release\gcce\udeb\VMA_Qt_Server.exe'. Stop.
    make[1]: *** [TARGETVMA-QT-SERVER_0XE2E03734] Error 2
    make[1]: Entering directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    make -s -C \Users\stephan\Documents\VMA-Qt-Server -f "MAKEFILE_0XE2E03734.MK" TO_ROOT=..\..\..\.. EPOCBLD=\S60\devices\S60_5th_Edition_SDK_v1.0_2\EPOC32\BUILD\MAKEFILE_0XE2E03734\GCCE TO_BLDINF=..\..\..\..\Users\stephan\Documents\VMA-Qt-Server PLATFORM=GCCE CFG=UDEB FINAL
    make[1]: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    C:\S60\devices\S60_5th_Edition_SDK_v1.0_2\epoc32\tools\make.exe: Leaving directory `C:/Users/stephan/Documents/VMA-Qt-Server'
    Beendet mit Rückgabewert 0.
    Did i set up my project correctly? What are these .dso files??

    Thanks for any help!

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Re: .dso file not found. problem config. qtmobility project

    I would propose you get the Symbian Qt Mobility files from http://qt.nokia.com/developer/new-qt-apis
    and follow the instructions for Symbian 5th Edition SDK.

    This should solve your problem
    ---------------------------------------------------
    Compiling code for Qt for Symbian S60 and Linux: http://www.w-bremer.de/en/howtos/70-qt-symbian-linux
    Symbian S60 Qt Development using Eclipse and Linux: http://www.w-bremer.de/en/howtos/69-S60Qt-Eclipse

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    2

    Re: .dso file not found. problem config. qtmobility project

    Hey AcidJunkie,
    thanks for your reply! i thought i had stated out clearly that i had downloaded:
    http://get.qt.nokia.com/qt/solutions....0.0-beta1.zip
    and followed the installation instructions. QtMobilitys configure, make and make install ran flawlessly, but the examples and my project didnt compile.
    Or did you mean something else and i didnt got it?

    best regards

    atx

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Re: .dso file not found. problem config. qtmobility project

    Quote Originally Posted by atx_fh View Post
    i thought i had stated out clearly that i had downloaded:
    http://get.qt.nokia.com/qt/solutions....0.0-beta1.zip
    Yes I got it, but I meant this symbian package on the same page
    http://get.qt.nokia.com/qt/solutions....0.0-beta1.zip

    You do not need to compile the whole library to get it working with symbian.
    Just copy the 5.0 package to your 5th SDK epoc32 folder and install the .sis file on the device you want to deploy your app.

    Regards
    ---------------------------------------------------
    Compiling code for Qt for Symbian S60 and Linux: http://www.w-bremer.de/en/howtos/70-qt-symbian-linux
    Symbian S60 Qt Development using Eclipse and Linux: http://www.w-bremer.de/en/howtos/69-S60Qt-Eclipse

Similar Threads

  1. problem when importing from carbide c++ to vs 2003!
    By misfit.physics in forum Symbian Tools & SDKs
    Replies: 12
    Last Post: 2008-02-19, 09:45
  2. [announce] PyUIQ. Python for UIQ 2.1 and 3.x
    By OscarBernabeu in forum Symbian
    Replies: 35
    Last Post: 2008-01-17, 09:12
  3. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian
    Replies: 2
    Last Post: 2006-10-14, 22:21
  4. could not find thread.mbg and thread.rsg
    By deercrane in forum Symbian
    Replies: 3
    Last Post: 2006-04-18, 09:44
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •