How to use Windows Message Loop and Qt Application Exec?
-
wrote on 21 Sept 2018, 06:52 last edited by
@YJCN
You have to do more than just comment out thebreak
, if that's what you're saying. If that's all you do the::GetMessage()
loop will never exit, and your code will never return fromon_pushButton_2_clicked()
, e.g. you cannot press it again to take another photo. Presumably you need to find out whatever is the final message your camera issues on taking a photo and exit the loop once that has been received. -
@YJCN
You have to do more than just comment out thebreak
, if that's what you're saying. If that's all you do the::GetMessage()
loop will never exit, and your code will never return fromon_pushButton_2_clicked()
, e.g. you cannot press it again to take another photo. Presumably you need to find out whatever is the final message your camera issues on taking a photo and exit the loop once that has been received.
21/23