Unsolved 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?
-
@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.
-
In the mean time, until I find the actual cause I'm implemented a fix in requestImage which looks for the % and skips over the 25 to build the file name, this works.
-
@SPlatten said in How to debug QQuickImageProvider?:
gives me is assembler entries
Build in debug mode
-
@jsulm , I have built in debug mode, all the dissembler entires are in Qt libraries.
-
@SPlatten Then you need to install Qt debug symbols using Qt Maintenance Tool if on Windows.
-
@jsulm , this could be a problem as I'm on contract for an organisation and I don't have the login details which I believe are required. I have sent an email requesting assistance.
-
@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