267 if (m_useNinja)
268 AbstractProcessStep::stdError(line);
269 else
270 AbstractProcessStep::stdOutput(line);
Ninja is processing stderr and regular makefiles are processing stdout. So I added this to our custom shell script and it's working now:
Command: .../bin/mkvogl.sh
Arguments: --amd64 --debug 3>&1 1>&2 2>&3
I guess if you ever find QtCreator isn't parsing your output, try swapping stderr and stdout. :)
If anyone wants to get QtCreator building release with symbols on something vaguely resembling 64-bit Linux Mint 16, this is what I wound up doing:
apt-get install: libgl1-mesa-dev libxml2-dev libglib2.0-dev libxslt1-dev libglib2.0-dev libgstreamer-plugins-base0.10-dev libgstreamer0.10-dev
diff --git a/qtcreator.pri b/qtcreator.pricd ~/dev/qt-creator/src
index 1750705..9be9c03 100644
--- a/qtcreator.pri
+++ b/qtcreator.pri
@@ -180,6 +180,9 @@ unix {
RCC_DIR = $${OUT_PWD}/.rcc
UI_DIR = $${OUT_PWD}/.uic
+
+ QMAKE_CXXFLAGS_RELEASE += -g
+ QMAKE_CFLAGS_RELEASE += -g
}
win32-msvc* {
qmake -r
make
If there is a better way of achieving this, please let me know - I don't know much about qmake and couldn't find anything...
Calling ninja with `3>&1 1>&2 2>&3` also solved my error / warning parsing errors, thanks a lot!! I think this is a qtcreator shortcomming, it should be fixed on their side.
ReplyDeletenice , Blogging tips, Seo Tips ,Blog Design ,Earn Money
ReplyDeleteStill a problem and this still worked for me, thanks!
ReplyDeleteOh, good to hear it still works. Thanks Tim.
ReplyDelete