Home GnuPG

Qt: Append -std=c++11 if building against Qt 5.7
fa97de673bd3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Qt: Append -std=c++11 if building against Qt 5.7

  • m4/qt.m4: Append -std=c++11 to CFLAGS if building against Qt 5.7

Qt 5.7 enables C++11 for Qt modules, and any app relying on it require to be
compiled with at least this standard.

This patch adds detection for Qt 5.7 and make sure -std=c++11 is passed if
building against Qt 5.7 or higher.

Details

Provenance
kristianfAuthored on Aug 11 2016, 2:44 PM
aheineckeCommitted on Aug 12 2016, 9:30 AM
Parents
rP2227f67af53f: Fix ncurses build.
Branches
Unknown
Tags
Unknown