Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.8.0
-
None
-
* Windows 10
* Msvc 2015
* Qt 5.8
-
8c0194f76355c5a0341d276d09c2e49462082901
Description
If you do the following in MSVC, the application will crash:
//header: signals: void signal1(QPrivateSignal); void signal2(QPrivateSignal); //source connect(this, &MyClass::signal1, this, &MyClass::signal2); emit signal1(QPrivateSignal());
It works fine on linux, and it works for all platforms if the connect is done via SIGNAL(signal1()).
See the attached project for a full example.
Attachments
For Gerrit Dashboard: QTBUG-59414 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
188211,2 | moc: put the QPrivateSignal argument in the arg array | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |