c++ (connect ) coding of QT "error" SIGNAL
-
Is there a generic / general QT documentation or example of C++ code,
on how to code / handle "error" SIGNAL?Majority of C++ code examples do not include examples of error handling.
Many discussions are not using "connect on error " - instead they
adapt standard C/C++ error handling - sometime with very convoluted code. -
Is there a generic / general QT documentation or example of C++ code,
on how to code / handle "error" SIGNAL?Majority of C++ code examples do not include examples of error handling.
Many discussions are not using "connect on error " - instead they
adapt standard C/C++ error handling - sometime with very convoluted code.@AnneRanch said in c++ (connect ) coding of QT "error" SIGNAL:
Is there a generic / general QT documentation or example of C++ code,
on how to code / handle "error" SIGNAL?If a Qt class has any error handlers or
errorOccurredsignals (likeQTcpSocketfor example), feel free to use them :)
There is not only the one way to do this. Nobody forces you to connect to the error signal. But it's recommended for a reason.Majority of C++ code examples do not include examples of error handling
If you are talking about the Qt examples... yes...they are just examples, which should give the user an overview how a module works and what can be done by using it. There is only minimalistic code.