Unsolved QtCreator: Undesired output in Application Window
-
Hello all...
Hoping someone can assist with this. I have been using QT5 for awhile, recently setup a new dev machine and switched to QT5.9. Regardless, now as I try to use QtCreator to run my application, I get a bunch of "junk" to the Application Output window. When launching the application I get the following:
Starting C:\openjaus\internal\repos\com.openjaus.ConfigEditor.qt\build-ConfigEditor-Desktop_Qt_5_9_2_MSVC2017_64bit-Debug\debug\ConfigEditor.exe... libpng warning: cHRM: invalid chromaticities libpng warning: cHRM: invalid chromaticities Couldn't open save file. mincore\com\oleaut32\dispatch\ups.cpp(2128)\OLEAUT32.dll!00007FFA970516A1: (caller: 00007FFA970444B9) ReturnHr(1) tid(4600) 8002801D Library not registered. ShellStreams: AttachShellStreams: InitializedTrying to load localized resources for LANGID 1033 with Primary LANGID 9 code en name English (Universal)Resource DLL loaded at path C:\Program Files\Common Files\Apple\Internet Services\ShellStreams.resources\en.lproj\ShellStreamsLocalized.dllNot running under explorer. Will not set thread locale 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A4AB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A4AB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A4AB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A4AB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A45B0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A45B0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A45B0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A45B0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A4510 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A4510 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5730 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5730 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5EB0 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A5730 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A5730 ENTER: ShellStreamsFolder::CreateViewObject 22472 00000194535A4330 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> 22472 00000194535A4330 ENTER: ShellStreamsFolder::CreateViewObject 22472 000001945346FC00 ENTER: ShellStreamsFolder::ShellStreamsFolder pidl = 1f50e04fd020ea3a6910a2d8802b30309d140 -> 2e80853fd6f0ec379740b3d61b4a891711800 -> onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(285)\thumbcache.dll!00007FFA74968E0E: (caller: 00007FFA7496901F) ReturnHr(1) tid(4600) 80004005 Unspecified error onecoreuap\shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(159)\thumbcache.dll!00007FFA74961B41: (caller: 00007FFA9609D99A) ReturnHr(2) tid(4600) 80004005 Unspecified error 22472 0000000000000000 ENTER: DllCanUnloadNow ShellStreams: Detach C:\openjaus\internal\repos\com.openjaus.ConfigEditor.qt\build-ConfigEditor-Desktop_Qt_5_9_2_MSVC2017_64bit-Debug\debug\ConfigEditor.exe exited with code 0
I would like to make use of the qDebug options but with all this extra output it is making it difficult. I have tried the option QT_LOGGING_TO_CONSOLE=0 but it made no difference.
Help! (please)
-
Hi! Probably a DLL which attaches to your process and causes the output. You can check all loaded DLL's in the Modules pane. Another tool would be InjectedDLL from Nirsoft.
I'm not sure what the best approach is to find the library which produces the output, probably trial and error. -
Yes. I am getting the same thing using Qt 5.12.1. For me it is associate with using QColorDialog with the following:
setOption(QColorDialog::ShowAlphaChannel);
setOption(QColorDialog::DontUseNativeDialog);It seems harmless, but is a bunch of "junk" coming out. Or maybe it means something?