Skip to content
QtWS25 Call for Papers
  • Warnings: Feast or Famine

    Solved General and Desktop
    18
    0 Votes
    18 Posts
    3k Views
    W

    @kenchan - Again, thanks. I've successfully used -Wno-missing-braces on the analyzer and editor, so it 'works' for at least some versions of the compiler.

    As for 'warn_on'/'warn_off', I had no trouble verifying their existence/function once I found them in the .pro file, but I had no prior warning to look for such a thing. I've been looking for QMAKE_CXXFLAGS, not weird macros that are defined in some middle ground between the .conf files and the .pro files. I don't understand how the .conf files work, much less how to successfully invoke half of the options documented there and elsewhere.

    On the other hand, I think that I've solved my main issue with the discovery of the hidden 'warn_off' in my library's .pro file. I have compile warnings again. More than I'd like, true, and I don't seem to be able to turn off specific warnings, but fixing the autogenerated code should get rid of the majority of the offending bits, so I can at least have some confidence in my builds again.

  • 0 Votes
    3 Posts
    2k Views
    J.HilkJ

    @VRonin Well apparently it is oO.
    Wasn't ware of that one, I came by it when googled the warning, but gave it not much mind.

    Thank you!

  • 0 Votes
    3 Posts
    919 Views
    G

    Thank you.

  • 0 Votes
    1 Posts
    763 Views
    No one has replied
  • 0 Votes
    2 Posts
    7k Views
    mmirskyM

    Compiled and rebuilt with Qt5.5.0 (beta).

    Interestingly, the warnings I received when running over VNC or when in high-dpi mode (QT_DEVICE_PIXEL_RATIO=2) no longer appear with Qt5.5.0. So, this is a definite improvement.

    However, I still receive the 147 (Unknown) error on launch when running over X11 forwarding.