Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to apply QProgress Bar with Third party library loading

How to apply QProgress Bar with Third party library loading

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 781 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wilmord
    wrote on last edited by
    #1

    Hello guys,

    I want to ask a question about QProgressBar. We have an application that is using third party graphic library and we have created an installation wizard that shows the installation progress. ( %1--%90). But we loads third party library so we can not know the exact percentage of progress while installing application. How can we solve this?

    Thanks in advanve.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi, welcome to devenet.

      If you don't know the actual percentage the only thing you can do is set a busy indicator i.e. a progress bar displaying a special animation that something is going on but without specific progress value. With QProgressBar this is done by setting both minimum and maximum value to 0, as described in the docs.

      W 1 Reply Last reply
      0
      • Chris KawaC Chris Kawa

        Hi, welcome to devenet.

        If you don't know the actual percentage the only thing you can do is set a busy indicator i.e. a progress bar displaying a special animation that something is going on but without specific progress value. With QProgressBar this is done by setting both minimum and maximum value to 0, as described in the docs.

        W Offline
        W Offline
        Wilmord
        wrote on last edited by
        #3

        @Chris-Kawa Hi Chris,

        Thank you for your answer. I will try these :)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved