Closed huseyinkozan closed 2 years ago
Note; I have added some destructors to suppress warnings/errors
@ejvr any idea? Could it be that moc isn't run on the websocket's code?
Yep, looks like you're right. It appears that the websocket headers are not passed to qmake.
@huseyinkozan In the file qmqtt.pri
in the root of the repo, can you change PRIVATE_HEADERS
to HEADERS
(line 55). That would force the moc to process the websocker headers.
@ejvr Thanks. It builds now
Yep, looks like you're right. It appears that the websocket headers are not passed to qmake.
@huseyinkozan In the file
qmqtt.pri
in the root of the repo, can you changePRIVATE_HEADERS
toHEADERS
(line 55). That would force the moc to process the websocker headers.
@ejvr But usually this should be working, so we shall not modify our qmqtt.pri
file? I am just asking if we should close the bug or deliver this change.
That's the plan, I hope I can find some time thing week to create a pull request.
Got to recreate my build env first...
Hi, I created a console app and tried to include pri file like;
But I got below errors. How can I use pri file ?
qmqtt-test.zip