CudaText 64bit: Text/Code Editor: RC. Please report issues

There are two ways to handle that. On Haiku when a file should be opened by an application a RefsReceived message is being sent to this application. Haiku’s Qt implementation by default translates this into a Qt FileOpen event. If an application supports this everything works out of the box as it should. But since the FileOpen event is otherwise only being used on macOS many Qt applications that were only written with Linux or Windows in mind don’t implement that event.

So the ideal solution would be to implement support for the FileOpen event in CudaText. That would give the best results.

But the qthaikuplugin also allows for a workaround. When setting the QT:QPA_FLAGS attribute to Q_REF_TO_ARGV Qt will attempt to convert the initial RefsReceived message into command line arguments.

See the following post and the discussion preceding it for details:

3 Likes