Assume an application that creates a focusable dialog with 9 buttons.
Clicking buttons 1-8 causes the creation of new windows — type 1
through type 8, each type supporting a slot, S, that can be connected
to the signal of button 9.
Clicking button 9 should trigger slot S only of the window that wa
Thank you! That was the reason.
On 1/27/2017 11:32 PM, Konstantin Shegunov wrote:
Have you exported your class (and thus all its mata object
information) from said dll?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/ma
Have you exported your class (and thus all its mata object information)
from said dll?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
it seems the problem is that class instance is created in one DLL while
qobject_cast is called for this instance in another DLL...
can this be the reason?
what can be done then?
On 1/27/2017 11:24 PM, Alexander Dyagilev wrote:
Hello,
got one yet another qt bug(?)
qobject_cast returns
Hello,
got one yet another qt bug(?)
qobject_cast returns 0
dynamic_cast works fine.
MyClass is derived from a base class derived from QObject.
Q_OBJECT macro is present...
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-proj
Hi,
Try this:
C2.StackView.onStatusChanged: console.log("Status is " +
C2.StackView.status)
--
J-P Nurmi
> On 27 Jan 2017, at 18:48, Shantanu Tushar wrote:
>
> Hi,
>
> I realized today that this doesn't work-
>
> import QtQuick 2.7
> import QtQuick.Controls 2.1 as C2
>
> C2.Applicatio
Hi,
I realized today that this doesn't work-
import QtQuick 2.7
import QtQuick.Controls 2.1 as C2
C2.ApplicationWindow {
visible: true
width: 640
height: 480
C2.StackView {
anchors.fill: parent
Component.onCompleted: push(rectComponent)
}
Component {
Hello,
I'm getting this warning when using Qt from CMake :
CMake Warning (dev) at /opt/qt58/lib/cmake/Qt5/Qt5ModuleLocation.cmake:4
(set):
Policy CMP0053 is not set: Simplify variable reference and escape sequence
evaluation. Run "cmake --help-policy CMP0053" for policy details. Use the
cmake_