I am developing a widget in QtCreator and I want to Debug my code, I´m trying to attach with the WinCCOAUI process like a CtrlExtention but it doesn´t work, ¿Is there anyway to do this debug?
What do you mean by " same way as debugging a CtrlExtension."?
With Qt4 and WinCC OA 3.11 I was developing and debugging using VS2010, to debug the procedure was :
- Build using VS2010
- Copy DLL and EWO built to project/bin directory
- in VS2010, project properties > Configuration Properties > Debugging > Debugger to launch Command = WCCOAui.exe -proj myProj -p myUi
I was trying to Debug the the Qt code in the Qt Creator, however when I wanted to attach the UI process ("Debug > Start Debugging > Attach to running application ...") the field where the processes should be listed is completely empty and also after the update list it stays empty. I am doing something wrong ?
I am working on WinCC OA 3.14 x64 with Qt 5.5.0 under windows 7 x64.
The drop-down menu is grayed out and cannot be selected. If the "Manage" button is pressed I can see the Kits settings, and when i tried to play with the settings nothing changed and still cannot see any running processes in the menu. I also pressed "Update List" but that also did not change anything. I am sure i am doing something wrong but i cannot figure out what. My setting are displayed in the attached picture. https://www.winccoa.com/fileadmin/image ... t_Kits.png
For Qt creator on Linux, I did not have to change anything on Qt settings. The attach method should work fine if ui not immediately craches after startup, did you check your ui or gedi is running fine in windows task manager?
Sebastien