Commit 4e83f5a9 authored by Albert Astals Cid's avatar Albert Astals Cid

Compile with Qt < 5.6

parent 2bdc7833
...@@ -302,7 +302,9 @@ void fillCommandLineOptions(QCommandLineParser &parser) ...@@ -302,7 +302,9 @@ void fillCommandLineOptions(QCommandLineParser &parser)
auto titleOption = QCommandLineOption(QStringList() << QStringLiteral("T"), auto titleOption = QCommandLineOption(QStringList() << QStringLiteral("T"),
QStringLiteral("Debian policy compatibility, not used"), QStringLiteral("Debian policy compatibility, not used"),
QStringLiteral("value")); QStringLiteral("value"));
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
titleOption.setHidden(true); titleOption.setHidden(true);
#endif
parser.addOption(titleOption); parser.addOption(titleOption);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment