为什么从 Xcode 运行时我的 Qt 桌面应用程序会在诺基亚模拟器中打开?
刚刚决定不再运行 Qt Creator,因为我找不到组织我的项目的好方法。我决定使用 qmake 命令将我的项目变成 xcode 项目。我在 xcode 3 中打开了该项目并构建了(感谢上帝),然后当 xcode 尝试启动它时,它启动了诺基亚手机模拟器(除了模拟器内部的黑屏之外什么都没有显示。也就是说,当它不显示时) t crash ofc) 由于某种原因,我的应用程序现在是诺基亚手机应用程序,当我尝试在没有模拟器的情况下运行它时,*.app 文件崩溃。 然后我尝试在 xcode 4 中打开该项目,并且发生了完全相同的事情。
我的项目在 Qt Creator 中完美构建,但我发现它太难使用了。例如,我找不到创建子文件夹来组织大型项目的方法,并且当我写东西时我的标记消失了,我必须标记一些文本(这非常棘手,因为我无法找到我的标记)我的鼠标/标记才能重新出现。
那么有人知道如何在 Xcode 中运行桌面应用程序吗?我错过了什么设置吗?
Just decided that I no longer want to run Qt creator since I can't find a good way to organize my project. I decided to make my project a xcode project by using the qmake command. I opened the project in xcode 3 and it built (thank god) and then when xcode tried to launch it it launched the nokia phone simulator instead (where nothing is showing except a black screen inside of the simulator. that is, when it doesn't crash ofc) For some reason my app is now a nokia phone app and the *.app file crashes when I try to run it without the simulator.
I then tried to open the project in xcode 4 and the exact same thing happened.
My project build perfectly in Qt creator but I find it too hard to work with. For example, I can find no way of creating subfolders to organize big projects and my marker disappears when I write something and I have to mark some text (which is pretty tricky since I cannot locate my marker) for my mouse/marker to reappear.
So does anyone have any idea how to run a desktop app in xcode? Any settings I missed?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论