×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Downgrade to Qt 4.6.3 -> compiled apps no longer work

    Hi Folks,
    I have a somewhat strange problem: as I am working on a network app (and thus cannot use Qt 4.7.1), I have uninstalled both Qt 4.7.1 and the S60v5 SDK. I then reinstalled first the SDK and then the "new Qt 4.6.3", and have also deployed 4.6.3 onto my Nokia XM5800.

    When I now compile an app using the 4.6.3 and install it onto the XM5800, I cannot start the app up. I click the icon, it flashes and dies.

    If I, however, install Qt 4.7.1, the app works again. So the 4.6.3 SDK builds an app which depends on 4.7.1 somehow.

    Does anyone know what is going on here? Strangely, the included examples all work flawlessly...
    Last edited by tamhanna; 2010-12-14 at 23:40.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    I found that changing Qt versions, especially backwards, didn't always come off cleanly. Includes from the old version were not cleaned up. Complete reinstall was required.

  3. #3
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    Hi Dan,
    thank you so much!

    I have uninstalled 4.6.3, and then also the S60v5 SDK. I had other SDKs on the machine, which I didnt move. Must I really uninstall all of the SDKs?

    Also, is there another way to find out which Qt version is currently integrated into the SDK?
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  4. #4
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    You can check QT_VERSION.
    Quick hack for sanity checking...
    Create version_check.pro
    add line
    Code:
    message($$QT_VERSION)
    and run qmake.

  5. #5
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    I found that includes in epoc32/include had a "{N.N.N}" suffix when multiple versions were installed. The "active" version of the include would be installed without the suffix.

  6. #6
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    Hi Folks,
    sorry for my large delay.

    I have now run the modified .pro file, and got this message:
    C:\Qt\4.6.3\bin\qmake.exe -recursive -spec symbian-abld QtNewsRadar.pro
    Project MESSAGE: 4.6.3

    However, during debugging I get the dependant libraries may be missing message once again on my Qt 4.6.3 device. This is getting really strange...
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

  7. #7
    Regular Contributor
    Join Date
    Sep 2008
    Posts
    286

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    Installation time "dependencies missing, install anyway?":
    Then it must be something in the PKG templates. I'd start with tracking backwards from application sis. With using dumpsis or similar check the dependencies and their version numbers. then go to app dir and look at the templated PKG files for clues.

    Running (KErrNotFound/KErrNotSupported):
    If nothing found from PKG files. Then go for outputted MMP files. Search for libraries that shouldn't be included.
    e.g. Bearer/network libraries could be destructive.

    If you are compiling / hacking Qt libraries:
    Using qtlibinfix you will always get this dependency check failure at install.
    Using patch_capabilities.pl on Qt DLLs will do the same.


    If it is a Qt message and is about plugins.....

  8. #8
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    I'm guessing that one or more of your compiled-against libraries was 4.7.

  9. #9
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Downgrade to Qt 4.6.3 -> compiled apps no longer work

    Pivo (beer!) to all of you. Or Vodka.

    Solution:
    Uninstall Qt
    Uninstall SDK
    Delete its folder in /S60/
    Reinstall SDK
    Reinstall QT

    Fixed.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Autocomplete (ctr+space) in Qt components no longer working in carbide
    By birch01 in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2010-11-15, 14:17
  2. Replies: 2
    Last Post: 2010-10-22, 07:15
  3. Replies: 1
    Last Post: 2007-10-11, 10:52
  4. zipfile lib no longer work in 1.3.22
    By taonani in forum Python
    Replies: 4
    Last Post: 2007-06-11, 15:00

Posting Permissions

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