Chinaunix
标题:
怎样在dev c++ IDE中使用QT库
[打印本页]
作者:
sinboyang
时间:
2007-07-26 10:09
标题:
怎样在dev c++ IDE中使用QT库
谢谢!
作者:
xiaomiao
时间:
2007-07-26 10:21
提示:
作者被禁止或删除 内容自动屏蔽
作者:
sinboyang
时间:
2007-07-26 10:46
谢谢.
我按你那样做了, 可是DEV-C++还是编译不过. 说找不到包含文件.
代码如下:
#include <QApplication>
#include <QPushButton>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
作者:
sinboyang
时间:
2007-07-26 10:54
环境变量加了的.
path = C:\Dev-Cpp\bin;C:\Dev-Cpp\mingw32\bin ....
作者:
sinboyang
时间:
2007-07-26 11:04
对了, 安装QT后, 要不要做其他的配置呢?
谢谢!
作者:
sinboyang
时间:
2007-07-26 11:52
指定了, 那个编译选项里面有四个选择: binaries,libraries,C includes, C++includes. 里面我分别对其进行了配置.
我想问一下, QT安装完成后, 还要进入cmd下进行配置什么的吗?
作者:
sinboyang
时间:
2007-07-26 14:44
安装完qt后, 是不是一定要编译库啊? build debug liberaries.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2