[Qt-qml] "Cheating" in startup.qml?
Kai Koehne
kai.koehne at nokia.com
Wed Sep 15 13:13:14 CEST 2010
On 9/14/2010 4:21 PM, ext Jason H wrote:
> I installed on windows XP, and my project was in My Documents, so
> C:\Documents and settings\Jason\My Documents\qmlproject\1stry.qml
> was passed to the viewer as such, but needed to be:
> "C:\Documents and settings\Jason\My Documents\qmlproject\1stry.qml"
>
> When I moved the qmlproject directory under C:\qt\ it worked fine, leading me to
> believe that the spaces, combined with it unquoted was the problem. Unqoted you
> get 4 arguments:
> C:\Documents
> and
> settings\Jason\My
> Documents\qmlproject\1stry.qml
Hi,
I doubt that this is the problem, since we're using QProcess to start
qmlviewer, not the command line. Indeed, QProcess::execute claims that
'On Windows, arguments that contain spaces are wrapped in quotes'
(http://doc.trolltech.com/4.7-snapshot/qprocess.html#execute).
I also gave it a try, and can run all the examples just fine, even if
place them in a directory with spaces in the path name.
Maybe you can give it another try, and put down exactly what error you
are encountering? Maybe also launch some declarative demos/examples.
Thanks in advance
Kai Koehne
--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-qml
mailing list