首页| 论坛| 消息

回复: 基于QML智能家居的代码
#36 [noidea 01-29 12:24]
作者的源代码可以通过git找到
git clone git://gitorious.org/qt-in-use/basyskom-developers-qt-in-industrial-embedded.git
针对Qt5.x
打开工程后,在smarthome.pro最前边加上如下代码,目的是为了使用Qt5.x构架。
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
在main.cpp里边 修改如下代码
//#include
#include
在svgimage.cpp Line82,修改为
qDebug("SvgImage: setSource: %s not found!", m_source.toStdString().c_str());
#37 [yhb123456 03-25 19:48]
太漂亮了,下来试试
#38 [顽石abel 04-25 10:41]
太漂亮了。QML是王道。
#39 [ytily 11-07 17:02]
楼主太牛X了,膜拜下...!!!
#40 [yeshi_long 08-24 12:50]
很好很强大, 马上好好学习

<< 6 7 8 9 10 >> (8/10)

回复 发表
主题 版块