ChinaUnix.net
相关讨论

第一次用QT 使用QT creator写的一个小代码:[code]#include #include int main(int argc,char *argv[]) { QApplication a(argc,argv); QLabel *label=new QLabel("helloworld!"); label->show(); return a.exec(); }[/code]运行的时候提示下面的错误: /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crt1.o:: In function `_start': /build/buildd/glibc-2.9/csu/../sysdeps/i386/...

by duwei211 - 移动操作系统 - 2011-03-10 15:48:29 阅读(2014) 回复(1)

以前都是在命令行下手动敲命令,今天试了试qt creator,用的是包管理器的qt creator ,系统Mandriva 2010 2,. 步骤如下: 选择Copy project and open 按钮 按Finish按钮。 然后按build, 出现如下错误:[code]Starting: /usr/bin/qmake /home/wolf/tmp/screenshot/screenshot.pro -r CONFIG+=debug_and_release CONFIG+=debug -spec ../../../mkspecs/linux-g++ Could not find mkspecs for your QMAKESPEC(../../../mkspecs/...

by wolf_london - GUI编程 - 2011-02-06 22:02:01 阅读(4249) 回复(3)

直接用vi写代码,有些关键字不记得的话,还得去查,而用Qt creator的话,会有提示。 弱弱地问一句,如果我要编译出来的程序能在开发板上运行的话, 用Qt creator怎样实现?

by ricky_pc - 嵌入式开发 - 2010-05-27 11:18:06 阅读(1609) 回复(0)

我用Qt creator编了个程序: #include int main() { printf("I love you!"); return 0; } 编译时出现以下错误: make: Entering directory `/root/01' g++ -Wl,-rpath,/opt/qtsdk-2009.05/qt/lib -o 01 01.o -L/opt/qtsdk-2009.05/qt/lib -lQtGui -L/opt/qtsdk-2009.05/qt/lib -L/usr/X11R6/lib -lQtCore -lpthread /opt/qtsdk-2009.05/qt/lib/libQtGui.so: undefined reference to `FcFreeTypeQueryFace' collect...

by pc521 - C/C++ - 2009-12-28 15:06:42 阅读(1855) 回复(2)

本帖最后由 nothingthan 于 2015-11-07 11:12 编辑 将读串口程序放在checkbtn按钮的槽函数里 出现上述三个错误 求大神帮忙看看

by nothingthan - C/C++ - 2015-11-07 10:35:07 阅读(543) 回复(0)

QT4 creator 编程怎么利用函数调用 用其他编辑器写的程序? 能不能麻烦详细点

by nothingthan - C/C++ - 2015-07-17 16:41:13 阅读(1102) 回复(3)

想请教一下 我的“读串口”程序是用Ubuntu虚拟机下的vi编辑器编辑生成可执行文件的,现在在用Qt4 creator 来讲读取的数据显示到主界面,如何将“读串口”程序调用进来?希望能具体点。先谢谢了

by nothingthan - C/C++ - 2015-09-16 13:52:02 阅读(2100) 回复(9)

qt creator中有一段程序需要root权限,请问qt creator中有没有地方可以设置成root,谢谢 我用的fedora 15,我尝试在终端切换成root,然后执行./qtcreator运行qt creator,但是会出现一堆错误如下: [root@localhost bin]# ./qtcreator (:3990): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (:3990): GLib-GIO-CRITICAL **: g_dbus_proxy_get_name_owner: assertion...

by cheng_bingyuan - GUI编程 - 2013-08-19 09:59:56 阅读(2369) 回复(0)
by nothingthan - C/C++ - 2015-06-24 16:08:08 阅读(1349) 回复(5)

本文章原创于www.yafeilinux.com 转载请注明出处。

实现功能:

在弹出对话框中填写用户名和密码,按下登录按钮,如果用户名和密码均正确则进入主窗口,如果有错则弹出警告对话框。

实现原理:

通过上节的...

by liliu4239 - 移动操作系统 - 2011-12-22 08:51:06 阅读(881) 回复(0)