开发者

create Qt project on windows operating system

i to create a QT project under windows operating s开发者_开发技巧ystem but when i try to run this application i found this error:

Starting C:\Source\test1\debug\test.exe...
The process could not be started!

can any one help me to know what is the problem


It sounds like you're trying to invoke this from an I.D.E. (like QT Creator) that can't find the executable. Assuming it has been compiled, the I.D.E. may be trying to call it from the wrong directory.

Look in C:\Source\test1\debug and see if that executable exists.

If it's not there, it probably should be looking in C:\Source\test1\release.

Look there for the executable.

For QT Creator: I've found in the past that deleting the *.pro.user file and reopening the project works. The I.D.E. will ask/(force?) you to regenerate this file. Do so. This seems to fix many problems like this.

If you are using an I.D.E. as mentioned, it seems that your project configuration is broken. Save all source files and start a new project with the source files, and let the I.D.E. regenerate its scripts. Check the makefile for errors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜