QML Code not running
-
More information, please.
-
here is my code
helloWorld.qmlproject
@
/* File generated by QtCreator */import QmlProject 1.0
Project {
/* Include .qml, .js, and image files from current directory and subdirectories /
QmlFiles {
directory: "."
}
JavaScriptFiles {
directory: "."
}
ImageFiles {
directory: "."
}
/ List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
@helloWorld.qml
@
import Qt 4.7Rectangle {
width: 200
height: 200
Text {
x: 66
y: 93
text: "Hello World"
}
}
@this is the error
@
Starting D:/NokiaQtSDK/QML/helloWorld/helloWorld.qml
The process could not be started!
@this is the information. Can you please tell me what sort of information do you need to solve this particular problem?
-
-
Have you tried launching qmlviewer.exe in Windows?
-
You can launch any qml app with qmlviewer. It is located in qt\bin folder. Just launch it, and then open your qml file in it.
-
No no, not Qt Creator. The actual Qt. Usually it is located somewhere in c:\qt\4.7.0\qt\bin.