kioslave nogui

Kåre Särs kare.sars at iki.fi
Fri Mar 31 11:46:33 UTC 2017


Hi,

What version of Qt are you using?

I think this might be a Qt bug that you are encountering. 

https://www.mail-archive.com/kde-windows@kde.org/msg07290.html

There was a patch for KIO to workaround the problem, but it was rejected because the proper fix 
is in Qt 5.8.

For building Kate on windows I check the Qt version and apply the attached patch if the Qt 
version is less than 5.8


/Kåre



On fredag 31 mars 2017 kl. 13:01:22 EEST Harald Sitter wrote:
> Hola,
> 
> I am tyring to run filelight on windows and encountered a really
> strange behavior in KIO. I am building KIO with KIO_FORK_SLAVES=ON as
> that seems to make the most sense on Windows. That will fork the
> kioslave helper binary to run the slaves rather than going through
> kdeinit. The problem is that the kioslave binary is built with
> ecm_mark_nongui_executable which sets `WIN32_EXECUTABLE FALSE`.
> 
> Maybe I am being daft, but the way I understand it WIN32_EXECUTABLE
> being set to false means that the program will always run in a
> terminal. i.e. it is a cmdline  program. It is like when one sets
> `Terminal=true` in a freedesktop desktop file.
> 
> Long story short: this is what I get due to ecm_mark_nongui_executable
> http://i.imgur.com/sHeyyIp.png
> 
> I am not sure about the OSX implication of ecm_mark_nongui_executable,
> but at least from a Windows point of view it seems to make no sense as
> it brings up this utterly useless command window. I've confirmed that
> not calling ecm_mark_nongui_executable in fact gets rid of the window.
> 
> I guess I am asking for confirmation that we can drop the call
> entirely and if not if we there is any downside to dropping it for
> windows.
> 
> Cheers,
> HS


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170331/1c5ae0d3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio-hide-consoles.diff
Type: text/x-patch
Size: 2662 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170331/1c5ae0d3/attachment-0001.bin>


More information about the Kde-frameworks-devel mailing list