-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.8.0
-
Fix Version/s: 5.9.0 Beta 2
-
Component/s: Build tools: moc
-
Labels:None
-
Environment:* Windows 10
* Msvc 2015
* Qt 5.8
-
Commits:8c0194f76355c5a0341d276d09c2e49462082901
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.
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 |