Qt 6.11 is out! See what's new in the release
blog
[SOLVED] Is it possible to use QBitArray as signal's or slot's argument ?
General and Desktop
4
Posts
3
Posters
1.9k
Views
1
Watching
-
So, here is the question: "Is it possible to use QBitArray as signal's or slot's argument ?". When I write signal no errors shown but when I write slot and make a connect connect(musWg, SIGNAL(stateChanged(QBitArray)), this, SIGNAL(onStateChanged(QBitArray))); I have this message in MSVC console: 1>Compiling...
1>moc_MusWidget.cpp
1>moc_MainWidget.cpp
1>.\GeneratedFiles\Debug\moc_MainWidget.cpp(54) : error C2664: 'MainWidget::onStateChanged' : cannot convert parameter 1 from 'QBitArray' to 'QBitArray'
1> Source or target has incomplete type
1>MainWidget.cpp
1>Generating Code...
1>Build log was saved at "file://C:\Documents and Settings\BuildLog.htm"
1>V3ImitationProgram - 1 error(s), 0 warning(s)