Skip to content

Commit

Permalink
Merge branch 'compile-with-5.6' into 'master'
Browse files Browse the repository at this point in the history
Compile with 5.6. Contributes to JB#35409.



See merge request !21
  • Loading branch information
matthewvogt committed Aug 19, 2016
2 parents fbf5ee9 + 22c9b20 commit c1f2d1f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main.cpp
Expand Up @@ -82,6 +82,9 @@ void messageHandler(QtMsgType type, const QMessageLogContext &, const QString &m
case QtFatalMsg:
logLevel = "FATAL: ";
priority = LOG_ALERT;
break;
default:
break;
}

const QByteArray &msgData(message.toLocal8Bit());
Expand Down
2 changes: 1 addition & 1 deletion src/src.pro
Expand Up @@ -114,7 +114,7 @@ EXTENSIONS_DIR = $$IN_PWD/TpExtensions
EXTENSIONS_GENERATED_DIR = $$EXTENSIONS_DIR/.gen
TOOLS_DIR = $$IN_PWD/../tools
PYTHON = $$TOOLS_DIR/python.sh 2.6
MOC = moc
MOC = $$TOOLS_DIR/mocwrapper.sh

XINCLUDATOR = $$TOOLS_DIR/xincludator.py
CONSTANTS_GEN = $$TOOLS_DIR/qt4-constants-gen.py
Expand Down
11 changes: 11 additions & 0 deletions tools/mocwrapper.sh
@@ -0,0 +1,11 @@
ARGS=
for i
do
if [ "$1" == "-isystem" ]; then
ARGS="$ARGS -I"
else
ARGS="$ARGS $i"
fi
shift
done
moc $ARGS

0 comments on commit c1f2d1f

Please sign in to comment.