借鉴Github上面的Qt开源项目说事儿之一(Qt for iOS)

31 篇文章 0 订阅
31 篇文章 8 订阅

         最近喜欢闲逛github,去上面看看关于Qt方面的一些开源资料和项目,看到好多优秀的Qt开源项目,特别在最新的移动开发方面的项目,比如Qt for iOS,Qt for Android等

找到一个奇葩的项目,是mac下面本地iOS app 内嵌入QML界面的,看作者对这个项目的一些描述

Steps you need to do before building
-------------------------------------------
- Go to build settings tab and change QTDIR in the user-defined section at the bottom
    to point to your local installation of Qt.
- You may need to update #include <QtGui/5.2.0/QtGui/qpa/qplatformnativeinterface.h> in QmlView.mm
    to the correct version (instead of 5.2.0)

Steps that has already been taken to enable Qt:
-------------------------------------------

- NOte: The following is a work-around for now, until hybrid case is officially supported!

- add $QTDIR/include folder to header search paths under settings tab
- change build architecture to only armv7 (not armv7s) under settings tab
- change c++ language dialiect to GNU
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值