You should use Connections in this case (maybe it’s the only way to connect).
Put your object myObj to QML file by
setContextProperty
qmlVectorForm->rootContext()->setContextProperty("YourObject", myOb);
Your signal is
finishedGatheringDataForItem(QString signalString)
In QML file, add Connectios likes below:
Connections { target: YourObject onFinishedGatheringDataForItem: { qmlString = signalString } }
Related Contents:
- How to emit cross-thread signal in Qt?
- QT : Templated Q_OBJECT class
- QML and C++ image interoperability
- Can Qt signals return a value?
- Adding external library into Qt Creator project
- Connecting overloaded signals and slots in Qt 5
- In a templated derived class, why do I need to qualify base class member names with “this->” inside a member function?
- Sending a sequence of commands and wait for response
- How to create a generic object model for use in QML?
- Detect if stdin is a terminal or pipe?
- Application failed to start because it could not find or load the QT platform plugin “windows”
- How to convert an OpenCV cv::Mat to QImage
- the procedure entry point __gxx_personality_v0 could not be located
- How to link opencv in QtCreator and use Qt library
- How to redirect qDebug, qWarning, qCritical etc output?
- What does the Q_OBJECT macro do? Why do all Qt objects need this macro?
- How to compile Qt 5 under Windows or Linux, 32 or 64 bit, static or dynamic on Visual Studio or g++
- cv::Mat to QImage and back
- QtCore.QObject.connect in a loop only affects the last instance
- Borderless Window Using Areo Snap, Shadow, Minimize Animation, and Shake
- How to deploy a Qt application on Windows?
- Qt: Best practice for a single instance app protection
- How to make an expandable/collapsable section widget in Qt
- QGraphicsView Zooming in and out under mouse position using mouse wheel
- How to avoid Qt app.exec() blocking main thread
- How to change string into QString?
- what does __declspec(dllimport) really mean?
- how can I fully disable resizing a window including the resize icon when the mouse hovers the border?
- How to append text to QPlainTextEdit without adding newline, and keep scroll at the bottom?
- Slot is being called multiple times every time a signal is emitted
- Get HWND on windows with Qt5 (from WId)
- Ncurses and Qt Interoperability
- How do I create a simple Qt console application in C++?
- QObject Multiple Inheritance
- GIF animation in Qt
- QT/C++ – Accessing MainWindow UI from a different class
- QPSQL driver not loaded Qt
- Beyond Stack Sampling: C++ Profilers
- Configuring the GCC compiler switches in Qt, QtCreator, and QMake
- At what point is it worth using a database?
- Which C++ signals/slots library should I choose? [closed]
- qt thread with movetothread
- //! [0] in Qt source code
- (Qt 5.4.1) This application failed to start because it could not find or load the Qt platform plugin “xcb”
- Qt3d. Draw transparent QSphereMesh over triangles
- Project ERROR: Unknown module(s) in QT: webkitwidgets
- How do I construct an ISO 8601 datetime in C++?
- Display QImage with QtGui
- Changing DPI scaling size of display make Qt application’s font size get rendered bigger
- Where in Qt Creator do I pass arguments to a compiler?