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 build qt charts with profile option in mingw64?

How to build qt charts with profile option in mingw64?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 210 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.
  • M Offline
    M Offline
    mjs225
    wrote on last edited by
    #1

    I want to build qt charts with profile options in mingw64 to analyze some performance issues.

    In mingw64, the available profile tool I know is gprof. For gprof to work, the code needs to be compiled with -pg -no-pie, and cannot be linked dynamically.

    I've cloned code from https://code.qt.io/qt/qtcharts.git and found the default build option creates a shared library. The chart library is added via cmake function qt_internal_add_module. How can I build qt charts as a static library, with compile option -pg -no-pie? Thanks for any help.

    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