QString key = QString("e:\\tmp_map11212121"); Msg *pMsg; QFile qfile(key); bool bFlag = qfile.open(QIODevice::ReadWrite | QIODevice::Truncate );//| QIODevice::Text); if (bFlag != true) { return 0; } Msg tmepMsg; qfile.write((char*)&tmepMsg, sizeof(Msg)); pMsg = (Msg*)qfile.map(0, sizeof(Msg), QFile::NoOptions); //, QFile::NoOptions); err = G...
我用拖放组件的方式编了一个对对话框程序(Form.ui),在main.cpp文件 include 了那个 "form.h",可是make命令编译的时候只给出了form.h的错误报告,而没有我编的真正的form.ui.h的错误,这让我怎么改呀?简直郁闷死了!如果大侠有经验的话请指点一二,不胜感激! :em16:
http://xizhizhu.blogspot.com/2009/01/qt-development-viii-multi-thread.html Threads should be subclasses of qthread, and the qthread.run() should be overrided, the code of which will be executed in a separate thread when calling qthread.start(). A thread ends when the qthread.run() ends, or qthread.terminate() is called. Following code shows the basic idea of two threads running concurrently. // ...
我们这边是成都的一家猎头公司,最近有qt职位的需求,Linuix平台下的。是一家外资企业,公司很不错,有意者请与我联系。MSN:ginnyleelxj@msn.com. QQ:491209472
我们这边是成都的一家猎头公司,最近有qt职位的需求,Linuix平台下的。是一家外资企业,公司很不错,有意者请与我联系。MSN:ginnyleelxj@msn.com. QQ:491209472