Im trying to implement the Threaded fortune example from QT5 documentation(https://doc.qt.io/qt-5/qtnetwork-threadedfortuneserver-example.html) but the compiler doesn't accept the header . In the .pro file have CONFIG+=c++11 which works works fine for other headers but not for this one.
I tryed to include different configuration option in the .pro file including CONFIG += staticlib c++11 which DOESn't work!
The .pro file looks like this: enter image description here
The fortunserver.h file looks like: enter image description here
I expect the program to build successfully with the header QRandomGenerator.
Aucun commentaire:
Enregistrer un commentaire