~libqtelegram-team/telegram-app/telegram-app-dev

« back to all changes in this revision

Viewing changes to run.sh

  • Committer: Alex Chiang
  • Date: 2014-08-07 17:47:08 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: achiang@canonical.com-20140807174708-49t1a64a33bjdld2
run.sh: turn off library network debug spew by default

If you need the messages, comment out the lines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
    lxc-attach --clear-env -n $CONTAINER -- sudo -u ubuntu -i \
29
29
        env DISPLAY=$DISPLAY QML2_IMPORT_PATH=$LIBDIR \
 
30
        QT_LOGGING_RULES="tg.net.*.debug=false" \
30
31
        LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$wd/build/$ARCH/library/lib" \
31
32
        bash -c "cd $wd && qmlscene telegram.qml"
32
33
 
34
35
else
35
36
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/build/$ARCH/library/lib \
36
37
    QML2_IMPORT_PATH=$LIBDIR \
 
38
    QT_LOGGING_RULES="tg.net.*.debug=false" \
37
39
    qmlscene telegram.qml
38
40
fi