ChinaUnix.net
相关文章推荐:

ubuntu编译QT插件

ubuntu 6.10 下qt3中的 Tutorial和Examples中编译好的 例子在哪里? 最近ubuntu 6.10下学习 qt3(3.3.6版)发现 以前在windows下的事例不见了 请问在哪可以找到这些linux版的事例????

by ztianshan - GUI编程 - 2007-05-14 12:58:19 阅读(2741) 回复(2)

相关讨论

http://xizhizhu.blogspot.com/2008/11/qthello-qt.html Hello qt很简单,也就这么几行代码: #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello qt!"); hello.show(); return app.exec(); } qt中的每个API类都有一个与其同名的头文件对其进行声明。例如这段代码中,头文件QApplication中包含了QApplication类的声...

by zxz1984 - GUI编程 - 2008-11-08 01:41:55 阅读(2581) 回复(0)

solaris 10 中gcc 和qt 是安装系统时带的,编译时显示找不到qapplication.h 更改目录后又显示错误:库 -lqt 没有找到,, 请问如何解决?? 生成的Makefile中的qtDIR 怎么改变其默认值??

by freegzh - Solaris - 2005-10-14 18:32:31 阅读(1108) 回复(3)

编译qt库需要系统具备什么条件啊?? 以来关系何如啊?

by linuxsir_XP - C/C++ - 2005-01-30 12:08:53 阅读(861) 回复(1)

菜鸟刚接触qt, 按<qt3>>写了个hello qt! 如下: #include #include int main(int argc, char *argv[]) { QApplication app (argc, argv); QLabel *label = new QLabel("Hello qt!", 0); app.setMainWidget(label); label->show(); return app.exec(); } 在make 时出现很多 undefined reference 报错, 请帮忙!!!! [root@ws q...

by ldrun - GUI编程 - 2007-02-12 15:58:06 阅读(7123) 回复(4)

http://www.qiliang.net/qt/tutorial1-01.html 按照这里的文章... 链接时不能通过... 是不是库没有装好啊.. 我的系统是debian sid. [code]dpkg -l|grep qt ii libavahi-qt3-1 0.6.12-1 Avahi qt3 integration library ii libavahi-qt3-dev 0.6.12-1 Development headers for the Avahi qt3 integr ii libdbus-qt-1-1c2 0.62-4 ...

by rushrush - C/C++ - 2006-08-26 22:57:10 阅读(1067) 回复(1)

小弟新手,ubuntu默认安装。 装软件,编译的时候发现缺少很多库 请问一般需要安装哪几个库文件才能对付日常的编译 谢谢大家

by 李牛克斯 - 系统管理 - 2006-11-10 09:29:20 阅读(728) 回复(3)

我们在用qt3.*编译的时候通常会用到以下几个命令: qmake -project qmake *.pro make ./* 那么我想用面命令返回到qmake -project前的几个文件,也就是把那些*.o *等文件全部除去应该用什么命令?

by 黑色星光 - GUI编程 - 2007-12-08 16:40:16 阅读(2293) 回复(2)

我用的是redhat9.0,自带的qt-3.1,刚开始使用,想那个简单程序先运行一下, 当我使用qtdesigner编辑好程序后,运行出现错误,请各位指教。hehe.pro是工程的名字 [lili@localhost lili]$ qmake hehe.pro [lili@localhost lili]$ make g++ -c -pipe -Wall -W -O2 -march=i386 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -Dqt_NO_DEBUG -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/lib/qt-3.1/inc...

by baojian_322 - GUI编程 - 2006-11-23 21:21:40 阅读(2598) 回复(5)

qt4下无法通过:求助。。修改哪些部分 #include #include #include #include class myclass:public QWidget {public: myclass(); }; myclass::myclass() {setGeometry(100,100,150,50); QGroupBox *groupbox= new QGroupBox(this); groupbox->setGeometry(10,10,130,30); groupbox->setTitle("A group box"); QLabel *label=new QLabel(this); label->setGeometry(30,35,90...

by hurong4597 - GUI编程 - 2006-04-25 15:27:57 阅读(2058) 回复(2)

各位我使用了最原始的Hello world 开始学习,可是qmake [project] ;qmak; make; 出错,信息和代码如下: -------------------------------------- #include #include int main( int argc, char **argv ) { QApplication a( argc, argv ); QPushButton hello( "Hello world!", 0 ); hello.resize( 100, 30 ); a.setMainWidget( &hello ); hello.show(); return a.exe...

by TurboDisk - GUI编程 - 2006-03-28 15:19:57 阅读(2589) 回复(5)