Results 1 to 4 of 4

Thread: Slow loading of Qt app on Android

  1. #1
    Join Date
    Jul 2019
    Posts
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows

    Default Slow loading of Qt app on Android

    Greetings,

    My Qt app for android is loading very slow after some changes in the resource file apparently, I haven't made any major changes in the code; I have just added some higher resolution photos (~1080p).
    The current loading time is 10~15 seconds, which was about 1 sec previously

    Environment Details:
    resource file size: 11.5MB (after changes)
    Qt 5.13.1 (Qt Creator 4.10.0)
    SDK Version: 26.1.1
    NDK Version: 20.1.5948944
    androidBuildToolsVersion=30.0.3 (also tried 28.0.3)
    androidCompileSdkVersion=29 (also tried 28 and 30)

    Here is the link to the runtime errors & warnings shown in the Compile Output section.

    Please guide how can I make the app load faster, and how can I check which part is taking more time to load?

  2. #2
    Join Date
    Jul 2019
    Posts
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Windows

    Default Slow loading of Qt app on Android

    Greetings,

    My Qt app for android is loading very slow after some changes in the resource file apparently, I haven't made any major changes in the code; I have just added some higher resolution photos (~1080p).
    The current loading time is 10~15 seconds, which was about 1 sec previously

    Environment Details:
    resource file size: 11.5MB (after changes)
    Qt 5.13.1 (Qt Creator 4.10.0)
    SDK Version: 26.1.1
    NDK Version: 20.1.5948944
    androidBuildToolsVersion=30.0.3 (also tried 28.0.3)
    androidCompileSdkVersion=29 (also tried 28 and 30)

    Here is the link to the runtime errors & warnings shown in the Compile Output section.
    Please guide how can I make the app load faster, and how can I check which part is taking more time to load?

    *Moderator edit: This original post was marked as moderated and therefore was not visible to the forum. It has been accepted and merged with the OP's second post of the same content.
    Last edited by d_stranz; 24th February 2022 at 16:35.

  3. #3
    Join Date
    Sep 2021
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Slow loading of Qt app on Android

    Quote Originally Posted by ahsan735 View Post
    Greetings,

    My Qt app for android is loading very slow after some changes in the resource file apparently, I haven't made any major changes in the code; I have just added some higher resolution photos (~1080p).
    The current loading time is 10~15 seconds, which was about 1 sec previously
    fm whatsapp
    Environment Details:
    resource file size: 11.5MB (after changes)
    Qt 5.13.1 (Qt Creator 4.10.0)
    SDK Version: 26.1.1
    NDK Version: 20.1.5948944
    androidBuildToolsVersion=30.0.3 (also tried 28.0.3)
    androidCompileSdkVersion=29 (also tried 28 and 30)




    Please guide how can I make the app load faster, and how can I check which part is taking more time to load?
    You should compress the codes so it won't require more time to load.

    * Moderator comment: This post was placed in the moderation queue and so was not visible in the forum. I have approved it so now it will be seen by everyone.
    Last edited by d_stranz; 23rd September 2022 at 17:53. Reason: Moderator approval

  4. #4
    Join Date
    Sep 2021
    Posts
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Slow loading of Qt app on Android

    The same thing was happening with me also

Similar Threads

  1. Qt4 Phonon slow loading
    By alenn.masic in forum Qt Programming
    Replies: 0
    Last Post: 1st April 2013, 13:35
  2. Replies: 3
    Last Post: 2nd August 2012, 14:46
  3. Slow loading of data into QTableWidget
    By KenJustKen in forum Qt Programming
    Replies: 5
    Last Post: 11th April 2012, 16:50
  4. Best practice when handling a slow loading widget?
    By TheNewGuy in forum Qt Programming
    Replies: 1
    Last Post: 4th December 2009, 07:12
  5. Slow loading images
    By abbapatris in forum Qt Programming
    Replies: 10
    Last Post: 5th March 2008, 16:52

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.