×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Angry Symbian app porting to MeeGo / Harmattan Error

    hi all,
    my symbian app give me many errors.
    i added a qml file in my app source code. (for lockportrait mode)
    and i tried on my n950 device.
    my app is not displayed.
    should i add my project qmlapplicationviewer and should i modify my main.cpp file?
    how can i do?
    my app cannot displaying on n950. Please help me!

    all Run/Deploy content:
    Killing remote process(es)...
    Starting remote process ...
    Remote process started.
    Using the meego graphics system
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    Devam
    Wait for opened
    hijackWindow() context created for QmlApplicationViewer(0x3c3148) 1
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x411d60)
    hijackWindow() context created for StartUpDialog(0x423eb8, name = "MessageDialog") 1
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x4d5a10)
    QNetworkReplyImpl::_q_startOperation was called more than once
    Meego graphics system destroyed
    Killing remote process(es)...

    Killing remote process(es)...
    Starting remote process ...
    Remote process started.
    Using the meego graphics system
    Devam
    Wait for opened
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    hijackWindow() context created for StartUpDialog(0x40f370, name = "MessageDialog") 1
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x6a6d38)
    QNetworkReplyImpl::_q_startOperation was called more than once
    Meego graphics system destroyed
    Using the meego graphics system
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    hijackWindow() context created for QmlApplicationViewer(0x3c3148) 1
    Found SGX/MBX driver, enabling FullClearOnEveryFrame
    Found v1.4 driver, enabling brokenTexSubImage
    QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x40eb20)

  2. #2
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Symbian app porting to MeeGo / Harmattan Error

    Hi
    The messages you have pasted here are warning messages which can be ignored.
    They come from the meego graphics system. So the log you pasted here doesn't really help to understand where is the problem.
    I suggest you to use the qmlapplicationviewer available in the harmattan project template.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    i used qmlapplicationviewer and qml for lock orientation. but the result didnt change. if u want i can upload main.cpp, mainwindow.cpp and mainwindow.h files.

    i am desperate...

  4. #4
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Symbian app porting to MeeGo / Harmattan Error

    To lock orientation you need to use harmattan components. Are u using them?
    Feel free to show me your code. you can upload it to http://pastebin.com/
    Please put files in separate pages and put here the links.

    BTW in case you are really desperate you can contact Nokia tech support!

  5. #5
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    i uploaded the project files to pastebin.
    look for main.cpp : http://pastebin.com/Ldxn2SQw
    look for mainwindow.h : http://pastebin.com/vncP98Ps

  6. #6
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Symbian app porting to MeeGo / Harmattan Error

    Hi,
    Please read this article: http://www.developer.nokia.com/Commu...d_applications
    I think that is what you are looking for.

  7. #7
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    qt says that erro : cannot find -lwidgetapp

    this error is in the LIBS += -L../qwidgetapp -lqwidgetapp (in qmlproxy.pro)

    i changed my app .pro file and .pro.user file (changed to : qwidgetapp.pro and qwidgetapp.pro.user).

    i used harmattanproxywidget. how can i fix it?

  8. #8
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Symbian app porting to MeeGo / Harmattan Error

    Hi,
    harmattanproxywidget example builds your application as static library which is after linked to the main executable binary.
    The error you see is related to the fact that the link is not able to link the executable binary (which contains the QML part) to the static library (which contains your application).

    So question: do you have a libqwidgetapp.a file in the qwidgetapp directory?
    If not you have to change the .pro file or something else somewhere to have it!
    I cannot tell you more without seeing the entire list of files/dir that you have there and the project files you are using.

  9. #9
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    i dont have libqwidgetapp.a file.
    but i changed my .pro file name to qwidgetapp.pro
    still there is error

  10. #10
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    i tried via n950 (harmattanwidgetproxy - not changed, original app). qt give me an error.
    so how can i will lock portrait mode my app?

  11. #11
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    Re: Symbian app porting to MeeGo / Harmattan Error

    You have to modify your project file too! have you read the README file? It describes all steps you have to follow.
    Basically you need to change the pro file template from application to library and you have to put the static keyword to build the lib as static.

    If you are not able to build the app shown in the example, please remove phisically from the disk the shadow directories (myproject-build.-*) you may have and try to build the project once again without modifying the code.
    In case of errors, please paste them here.

  12. #12
    Registered User
    Join Date
    Oct 2011
    Posts
    76

    Re: Symbian app porting to MeeGo / Harmattan Error

    i changed my .pro file (according to README file).
    i deleted my main.cpp file and i copied qwidgetapp project's main.cpp file to that directory.
    there is a packaging error

    all content (compile output):

    Running build steps for project qwidget...
    Configuration unchanged, skipping qmake step.
    Starting: "C:\qtsdk\madde\bin\make.exe" -w

    make: Entering directory `/c/Users/Prodigy/Desktop/hwp'
    cd qwidgetapp/ && /usr/bin/make -f Makefile
    make[1]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    Makefile:1234: warning: overriding commands for target `moc/moc_startupdialog.cpp'
    Makefile:1224: warning: ignoring old commands for target `moc/moc_startupdialog.cpp'
    c:/qtsdk/madde/targets/harmattan_10.2011.34-1/bin/qmake.exe -spec c:/QtSDK/Madde/sysroots/harmattan_sysroot_10.2011.34-1_slim/usr/share/qt4/mkspecs/default -unix -after OBJECTS_DIR=obj MOC_DIR=moc UI_DIR=ui RCC_DIR=rcc -o Makefile qwidgetapp.pro
    make[1]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    -unix is deprecated.
    make[1]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    Makefile:1234: warning: overriding commands for target `moc/moc_startupdialog.cpp'
    Makefile:1224: warning: ignoring old commands for target `moc/moc_startupdialog.cpp'
    make[1]: Nothing to be done for `first'.
    make[1]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    cd qmlproxy/ && /usr/bin/make -f Makefile
    make[1]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    make[1]: Nothing to be done for `first'.
    make[1]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    make: Leaving directory `/c/Users/Prodigy/Desktop/hwp'
    The process "C:\qtsdk\madde\bin\make.exe" exited normally.
    Creating package file ...
    Package Creation: Running command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us'.
    dpkg-buildpackage: set CFLAGS to default value: -g -O2
    dpkg-buildpackage: set CPPFLAGS to default value:
    dpkg-buildpackage: set LDFLAGS to default value:
    dpkg-buildpackage: set FFLAGS to default value: -g -O2
    dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
    dpkg-buildpackage: source package qwidget
    dpkg-buildpackage: source version 0.0.1
    dpkg-buildpackage: source changed by Antonio <gnuton@unknown>
    which: pgp: unknown command
    dpkg-buildpackage: host architecture armel
    debian/rules build
    make: Nothing to be done for `build'.
    debian/rules binary
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs
    # Add here commands to install the package into debian/qwidget.
    /usr/bin/make INSTALL_ROOT="/c/Users/Prodigy/Desktop/hwp"/debian/qwidget install
    make[1]: Entering directory `/c/Users/Prodigy/Desktop/hwp'
    cd qwidgetapp/ && /usr/bin/make -f Makefile install
    make[2]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    Makefile:1234: warning: overriding commands for target `moc/moc_startupdialog.cpp'
    Makefile:1224: warning: ignoring old commands for target `moc/moc_startupdialog.cpp'
    install -m 755 -p "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1.0.0"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1.0"
    make[2]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    cd qmlproxy/ && /usr/bin/make -f Makefile install
    make[2]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    cp -f -r c:/Users/Prodigy/Desktop/hwp/qmlproxy/qml/qmlproxy /c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qmlproxy/qml/
    install -m 644 -p c:/Users/Prodigy/Desktop/hwp/qmlproxy/qmlproxy80.png /c/Users/Prodigy/Desktop/hwp/debian/qwidget/usr/share/icons/hicolor/80x80/apps/
    install -m 644 -p c:/Users/Prodigy/Desktop/hwp/qmlproxy/qmlproxy_harmattan.desktop /c/Users/Prodigy/Desktop/hwp/debian/qwidget/usr/share/applications/
    install -m 755 -p "qmlproxy" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qmlproxy/bin/qmlproxy"
    make[2]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    make[1]: Leaving directory `/c/Users/Prodigy/Desktop/hwp'
    dh_testdir
    dh_testroot
    dh_installchangelogs
    dh_installdocs
    dh_installexamples
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_shlibdeps # Uncomment this line for use without Qt Creator
    dpkg-shlibdeps: failure: couldn't find library libqwidgetapp.so.1 needed by debian/qwidget/opt/qmlproxy/bin/qmlproxy (its RPATH is '').
    Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
    To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
    dh_shlibdeps: command returned error code 512
    make: *** [binary-arch] Error 1
    dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
    Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2
    Error while building project qwidget (target: Harmattan)
    When executing build step 'Create Debian Package'

  13. #13
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    151

    Re: Symbian app porting to MeeGo / Harmattan Error

    Hi,prodigy47
    I have the same problem. Did you have solved it?
    And if you solved, can give me some help? Thx
    Keep Smiling To Life!

    Dynasty1215

  14. #14
    Regular Contributor
    Join Date
    Jul 2007
    Posts
    151

    Re: Symbian app porting to MeeGo / Harmattan Error

    "# Add here commands to install the package into debian/qwidget.
    /usr/bin/make INSTALL_ROOT="/c/Users/Prodigy/Desktop/hwp"/debian/qwidget install
    make[1]: Entering directory `/c/Users/Prodigy/Desktop/hwp'
    cd qwidgetapp/ && /usr/bin/make -f Makefile install
    make[2]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    Makefile:1234: warning: overriding commands for target `moc/moc_startupdialog.cpp'
    Makefile:1224: warning: ignoring old commands for target `moc/moc_startupdialog.cpp'
    install -m 755 -p "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1.0.0"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1"
    ln -f -s "libqwidgetapp.so.1.0.0" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qwidgetapp/lib/libqwidgetapp.so.1.0"
    make[2]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qwidgetapp'
    cd qmlproxy/ && /usr/bin/make -f Makefile install
    make[2]: Entering directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    cp -f -r c:/Users/Prodigy/Desktop/hwp/qmlproxy/qml/qmlproxy /c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qmlproxy/qml/
    install -m 644 -p c:/Users/Prodigy/Desktop/hwp/qmlproxy/qmlproxy80.png /c/Users/Prodigy/Desktop/hwp/debian/qwidget/usr/share/icons/hicolor/80x80/apps/
    install -m 644 -p c:/Users/Prodigy/Desktop/hwp/qmlproxy/qmlproxy_harmattan.desktop /c/Users/Prodigy/Desktop/hwp/debian/qwidget/usr/share/applications/
    install -m 755 -p "qmlproxy" "/c/Users/Prodigy/Desktop/hwp/debian/qwidget/opt/qmlproxy/bin/qmlproxy"
    make[2]: Leaving directory `/c/Users/Prodigy/Desktop/hwp/qmlproxy'
    make[1]: Leaving directory `/c/Users/Prodigy/Desktop/hwp'
    dh_testdir
    dh_testroot
    dh_installchangelogs
    dh_installdocs
    dh_installexamples
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_installdeb
    dh_shlibdeps # Uncomment this line for use without Qt Creator
    dpkg-shlibdeps: failure: couldn't find library libqwidgetapp.so.1 needed by debian/qwidget/opt/qmlproxy/bin/qmlproxy (its RPATH is '').
    Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
    To help dpkg-shlibdeps find private libraries, you might need to set LD_LIBRARY_PATH.
    dh_shlibdeps: command returned error code 512
    make: *** [binary-arch] Error 1
    dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
    Packaging Error: Command 'c:/qtsdk/madde/bin/mad dpkg-buildpackage -nc -uc -us' failed.Exit code: 2
    Error while building project qwidget (target: Harmattan)
    When executing build step 'Create Debian Package'"

    The output info is same with yours, :-).
    I googled it , but not search any help method
    Keep Smiling To Life!

    Dynasty1215

  15. #15
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: Symbian app porting to MeeGo / Harmattan Error

    Hi,

    I would recommend to take a fresh copy of your application source code and follow exactly as per the steps mentioned in the README file as in here -
    https://gitorious.org/harmattanwidge...mlproxy/README

Similar Threads

  1. Accessing ShareUI on Harmattan/MeeGo ?
    By mac1ej in forum Nokia N9
    Replies: 34
    Last Post: 2012-03-23, 02:49
  2. MeeGo/Harmattan sub-forum / discussion
    By void0 in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 9
    Last Post: 2011-11-02, 12:48
  3. Package Name for Meego Harmattan
    By tangtungai in forum Nokia N9
    Replies: 3
    Last Post: 2011-09-16, 15:49
  4. Single instance (Meego harmattan)
    By kompotFX in forum Nokia N9
    Replies: 2
    Last Post: 2011-08-11, 08:44

Posting Permissions

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