腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(333)
视频
沙龙
1
回答
QtQuick应用程序和C++插槽绑定错误
c++
、
signals
、
qml
、
slots
我的计划是用QtQuick (
QML
)编写尽可能多的代码,但是有一件事我找不到,所以我决定使用C++。基本上,我需要创建一个应用程序,为用户提供特定的小部件和一个按钮。该方案是在
QML
中的按钮上注册一个信号,并将该信号与C++中的一个插槽连接。我打开了
QML
文档,在这里我找到了几个有用的例子。我的测试应用程序代码包含两个源文件:import QtQuick 2.4import QtQuick.Window 2.2当我运行程序时,我可以在控制台上
浏览 6
提问于2015-04-16
得票数 0
1
回答
由于导入错误,带有工具栏的ApplicationWindow无法容纳SwipeView
qml
、
qtquickcontrols
、
qtquickcontrols2
QML
debugging
is
enabled.
Only
use
this in a
safe
environment.
QQmlApplicationEngine failed to load component /mnt/projects
QML
debugging
is
enabled.</
浏览 17
提问于2018-02-11
得票数 0
回答已采纳
1
回答
如何将值推送到
QML
属性变体二维数组中?
arrays
、
qt
、
qml
、
qtquick2
如何在
QML
属性变体二维数组中推送值?
浏览 3
提问于2014-09-29
得票数 6
回答已采纳
1
回答
在
QML
中将数组中的项推到mouseclicks上时,不会调用数组的onChanged属性
javascript
、
qt
、
qml
、
qtquick2
Access.
qml
id: newq height: 62 console.log("mousearea shows pp's length: " + pp.length) }main.
qml
id: root height: 360 {
浏览 3
提问于2014-06-12
得票数 2
回答已采纳
1
回答
在qnx目标上出现"QtCanvas3D is not installed“错误
qt
、
qnx
、
qt3d
/framebuffer &
QML
debugging
is
enabled.
Only
use
this in a
safe
environment.
Defaulting to 150x90.qrc:/main.
qml
:4
浏览 28
提问于2017-03-02
得票数 0
2
回答
QML
加载失败
qt
、
qml
我是
QML
的初学者,只是想用它来测试Hello WOrld程序。它失败了:
Qml
debugging
is
enabled.
Only
use
this in a
safe
environment! Cannot find any Simulator
浏览 0
提问于2012-07-31
得票数 2
1
回答
不保存/应用Qt
QML
设置
qt
、
qml
、
settings
QML
debugging
is
enabled.
Only
use
this in a
safe
environment.
qrc:/main.
qml
:10:5:
QML
Settings: The following
浏览 26
提问于2019-02-06
得票数 6
回答已采纳
1
回答
基于的Qt/
QML
android
、
c++
、
qt
、
android-ndk
、
qml
qmake" /~/Desktop/bubble/bubble.pro -r -spec linux-g++ CONFIG+=debug CONFIG+=declarative_debug CONFIG+=
qml
_debug跑
QML
debugging
is
enabled.
Only
use
this in a
safe
environment.
QQmlApplicationEngine faile
浏览 2
提问于2013-12-17
得票数 1
回答已采纳
2
回答
如何在
QML
中逐个从FolderListModel中获取文件?
qt
、
qml
、
qt5
、
qtquick2
PhotoViewer.
qml
import QtQuick.Dialogs 1.0 // FileDialog
qml
: fsdfsdf: 0 --- file:///ho
浏览 8
提问于2016-03-05
得票数 1
回答已采纳
2
回答
如何收听来自
QML
的C++信号?
c++
、
qt
、
qml
、
qt-creator
我有一个我称之为C++“服务”的接口,我想公开给
QML
。我试图使用将对象链接到
QML
,并从连接到它。
QML
没有像以前在
QML
上下文中注册服务时那样抱怨引用错误:因此,
QML
现在似乎找到了service对象,但是没有调用
QML
槽javascript函数。我在中看到了这一点:
QML</em
浏览 6
提问于2015-05-01
得票数 4
回答已采纳
3
回答
启用
Qml
调试。只在安全的环境中使用。
qt
、
qml
Qml
debugging
is
enabled.
Only
use
this in a
safe
environment! 在这种情况下我该怎么办?
浏览 5
提问于2012-09-02
得票数 11
1
回答
Qt -Quick2App来自新项目(main.
qml
文件未找到)
c++
、
qt
qml
1.profolder_01.source =
qml
/
qml
1 viewer.showExpanded(); }
QML
debugging
is
enabl
浏览 5
提问于2013-10-07
得票数 0
2
回答
导入
QML
需要帮助
qt
、
qml
、
qtquick2
我需要一些关于
QML
导入的帮助。我有两个项目,名字是Project1和Project2|-QmlFile1.
qml
|-QmlFile2.
qml
sharedresource.qrc
QML
_DESIGNER_IMPO
浏览 1
提问于2020-07-23
得票数 0
回答已采纳
1
回答
库需要QApplication。如何在Qt快速项目中使用QApplication?
c++
、
qt
、
qtgui
、
qtquick2
、
qcustomplot
QGuiApplication app(argc, argv); // generate some data:
浏览 0
提问于2014-01-08
得票数 6
回答已采纳
5
回答
如何将二维浮点数组从
QML
传递到C++?
arrays
、
qt
、
qml
、
qtquick2
我在
QML
中有一个二维浮点数组。如何在C++中获得它的值。请用一个小例子演示一下。nqqqq " << arg.size () << "\n"; void namesChanged(QList <QVariantList> arg);
qml
QML
debugging
is
en
浏览 6
提问于2014-09-26
得票数 2
回答已采纳
2
回答
未找到导入文件
javascript
、
qt
我正在尝试通过学习
QML
。我希望将我的javascript函数放入一个单独的文件中,并将其“导入”到
qml
世界中。已经得到了下面的代码,用于测试这是如何工作的。.> QQmlApplicationEngine failed to load component qrc:/main.<em
浏览 4
提问于2016-04-20
得票数 1
回答已采纳
3
回答
qml
从控制台工作,但在qt创建者下不工作。
linux
、
qt
、
opengl
、
qml
、
nvidia
启用了
QML
调试。只在安全的环境中使用。/build-test1-qt5-Debug/test1 1按下按钮。输入的案文: 程序的输出,我在qt creator中使用LIBGL_DEBUG=verbose运行
QML
debugging
is
enabled.
Only
use
this
浏览 4
提问于2017-05-17
得票数 1
3
回答
在C++中用Qt语言播放RTSP视频
c++
、
qml
、
vlc-qt
volume: 100 autoplay: true它适用于https://,但当我尝试将其更改为rtps://时,我的控制台只打印出
QML
debugging
is
enabled.
Only
use
this in a
safe
environment.
浏览 3
提问于2018-08-08
得票数 3
回答已采纳
1
回答
QML
为什么requestPaint()函数不调用画图?
javascript
、
qt
、
canvas
、
qml
、
qtquick2
可复制的例子:也看输出。为什么requestPaint()函数不调用?
debugging
is
enabled.
Only
use
this in a
safe
environment.
qml
: start called x2
qml
: start cal
浏览 2
提问于2015-04-29
得票数 3
回答已采纳
2
回答
为什么ListElement可以添加任意属性?
qt
、
qml
这是我自己在C++中定义的
Qml
类型: name:"xxx" //name is not defined with Q_PROPERTY出现错误:无法分配给不存在的属性
浏览 0
提问于2019-01-19
得票数 2
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券