How to debug QQuickImageProvider?
-
I have an object called ColouriserImageProvider which is derived from QQuickImageProvider.
I'm trying to find out why when the requestImage function is called the passed image has been modified. I'm trying to trace where and why this modification occurs.
Can anyone help?
-
I have an object called ColouriserImageProvider which is derived from QQuickImageProvider.
I'm trying to find out why when the requestImage function is called the passed image has been modified. I'm trying to trace where and why this modification occurs.
Can anyone help?
-
@SPlatten Set a break point inside requestImage and when the debugger stopps there check the stack trace.
@jsulm , Thank you, thats exactly what I did, but the first parameter which contains the image has already been modified and all the call stack gives me is assembler entries prior to this.
The original image path contains:
image://colouriserimageprovider/Defects/ICON_defects_lumininosity_grain_43%.png/color:#e1cdaf"When it gets into requestImage the first parameter has been modified and contains:
Defects/ICON_defects_lumininosity_grain_43%25.png/color:#e1cdaf"Its the addition of 25 after the % that is causing a problem.
-
@jsulm , Thank you, thats exactly what I did, but the first parameter which contains the image has already been modified and all the call stack gives me is assembler entries prior to this.
The original image path contains:
image://colouriserimageprovider/Defects/ICON_defects_lumininosity_grain_43%.png/color:#e1cdaf"When it gets into requestImage the first parameter has been modified and contains:
Defects/ICON_defects_lumininosity_grain_43%25.png/color:#e1cdaf"Its the addition of 25 after the % that is causing a problem.
@SPlatten said in How to debug QQuickImageProvider?:
gives me is assembler entries
Build in debug mode
-
@SPlatten Then you need to install Qt debug symbols using Qt Maintenance Tool if on Windows.
-
@SPlatten Then you need to install Qt debug symbols using Qt Maintenance Tool if on Windows.
@jsulm, I now have my login details and having used the "Forgot password?" link in the MaintenanceTool I have changed and validated my login details on the Qt web-site. However when I try to use the same details with the MaintenanceTool I still get "SSL handshake failed".
Is there a specific port that the application uses that I need to get added to the corporate firewall?
-
@jsulm, I now have my login details and having used the "Forgot password?" link in the MaintenanceTool I have changed and validated my login details on the Qt web-site. However when I try to use the same details with the MaintenanceTool I still get "SSL handshake failed".
Is there a specific port that the application uses that I need to get added to the corporate firewall?
@SPlatten said in How to debug QQuickImageProvider?:
Is there a specific port that the application uses that I need to get added to the corporate firewall?
That I don't know