我有大约十几个程序是在QT创建器中制作的,其中一个程序不会在IDE中打开,这意味着如果我从命令行打开它,它运行良好,gdb和valgrind找不到任何异常。但是,当我尝试Qt Creator中打开它,我立刻得到错误program has unexpectedly finished
,当我在调试模式下运行它,我得到这个回溯:如何调试程序不在IDE中打开?
1 ??
2 ??
3 ??
4 ??
5 ??
6 ??
7 ??
8 ??
9 ??
10 ??
11 ??
12 ??
13 ??
14 ??
15 ??
16 ??
17 ??
18 glXGetFBConfigs
19 glXChooseFBConfigSIGX
20 ??
21 ??
22 ??
23 QXcbWindow::create()
24 QXcbIntegration::createPlatformWindow(QWindow *) const
25 QWidgetPrivate::create(bool)
26 QWidgetPrivate::create_sys(unsigned long long, bool bool)
27 QWidget::create(unsigned long long, bool, bool)
28 QWidget::setVisible(bool)
29 main main.cpp 62
我能做些什么呢?因为我需要跟踪工具...
你可以在visual studio中运行它,并使用调试器吗? –
@OmidCompSCI我不这么认为,我在Ubuntu和Visual Studio代码似乎没有正确导入项目。 –