Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. in QtCreator, how to control the build progress bar with compilation progress
Forum Updated to NodeBB v4.3 + New Features

in QtCreator, how to control the build progress bar with compilation progress

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
qtcreator
1 Posts 1 Posters 650 Views 2 Watching
  • 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.
  • P Offline
    P Offline
    PedroJ
    wrote on last edited by
    #1

    I'm using QtCreator with a custom toolchain, make.bat, under windows.
    This make.bat makes all the source syncqing and compiling stuff. It has many steps, and takes a while.

    However, since QtCreator doesn't know anything about what's my make.bat doing, the QtCreator building progress bar (the green one on the right bottom corner) doesn't grow little by little. It just changes from 0 to 100%, all of a sudden, when my make.bat is finished with errorlevel 0.

    Is there a way a can tell QtCreator the progress of compilation?, so that QtCreator can update de green build progress indicator accordingly

    for example, I could print some text in my make.bat, such as:

    call do_Stuff_1.bat
    echo [ 25%%] syncqing...
    call do_Stuff_2.bat
    echo [ 50%%] parsing hola.cpp...
    call do_Stuff_3.bat
    echo [ 75%%] compiling...
    call do_Stuff_4.bat
    echo [100%%] done
    

    And QtCreator could parse it (such as it parse the errors and warnings) and update the building progress indicator

    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