Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt Libraries ( optimization breaks circle drawing )

Building Qt Libraries ( optimization breaks circle drawing )

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 288 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.
  • A Offline
    A Offline
    Alexander K.
    wrote on last edited by
    #1

    While building Qt Libraries

    in qt-everywhere-src-5.11.2 building
    with:
    os windows 7
    c++ tool: Visual Studio 2019
    optimization: -O2

    Optimization -O2 in module QtGui breaks drawing of circles, sectors and everything connected to this.
    If replace -O2 to -O1 then everything works fine.

    P.S.
    I have tested even on qt-everywhere-src-5.13.2 - works wrong

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alexander K.
      wrote on last edited by
      #2

      Basically, my question is not "why it's happened" by hoц to set option -O1 in one Qt module ( in QtGUI ) legally.
      Now i have to hack way

      I need to build all qtbase-everywhere-src-5.11.2 library as is, than correct QtGui/makefile.Release with replacing all -O2 to -O1
      Then
      for QtGui
      make clean
      make
      make install

      It's too long way to success :)

      Any ideas ???

      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