[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QCoreApplication.applicationFilePath
From: "Arve Knudsen" <arve.knudsen () gmail ! com>
Date: 2008-07-29 9:37:05
Message-ID: a0d6258d0807290237m5dad9a8em8206dd699bd3d66d () mail ! gmail ! com
[Download RAW message or body]
QCoreApplication.applicationFilePath gets a bit confused under Python,
at least on Linux. Although the documentation says that this should be
deduced from argv[0], and QCoreApplication.arguments()[0] is the path
to the script, what is returned is the path to the Python interpreter.
This happens in an existing application that is predominantly C++, so
we would like standard Qt logic to keep working. How do I best solve
this problem?
Thanks,
Arve
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic