summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-25 11:07:42 (GMT)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>2009-09-25 11:12:30 (GMT)
commit0fa201d84468d82bec4268971eba865c50606e5c (patch)
tree628563893f64b9d9ab84312d55d33805706e3032 /examples
parent2bea70ee7f25462a6942dff15a21a6d5377433d3 (diff)
downloadQt-0fa201d84468d82bec4268971eba865c50606e5c.zip
Qt-0fa201d84468d82bec4268971eba865c50606e5c.tar.gz
Qt-0fa201d84468d82bec4268971eba865c50606e5c.tar.bz2
Use qDebug() instead of printf() when dumping the simplex matrix.
printf() does not work very well on windows, since it will not send the output to OutputDebugString(). This allows us to catch the output even if the program is configured without "CONFIG += console".
Diffstat (limited to 'examples')
-rw-r--r--examples/graphicsview/anchorlayout/anchorlayout.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/graphicsview/anchorlayout/anchorlayout.pro b/examples/graphicsview/anchorlayout/anchorlayout.pro
index c969c8b..c2a1bea 100644
--- a/examples/graphicsview/anchorlayout/anchorlayout.pro
+++ b/examples/graphicsview/anchorlayout/anchorlayout.pro
@@ -12,3 +12,4 @@ sources.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/anchorlayout
INSTALLS += target sources
TARGET = anchorlayout_example
+CONFIG+=console \ No newline at end of file