Thread overview
How compile QtE56 with dmd -m64 Without Console on Windows?
May 27
Marcone
May 28
MGW
May 28
Marcone
May 27

I created a program in Dlang with a Qt6 GUI for Windows x64. I'm using our friend mgwy's QtE5 library, which can be found at https://github.com/MGWL/QtE5. However, when I compile the program without the console, it doesn't open. The program compiles successfully but doesn't run.

I'm using the following flags:

-m64 -L/SUBSYSTEM:windows -L/entry:mainCRTStartup

The program compiles successfully, but it doesn't run and doesn't display any error messages.

Can someone help me?

May 28
On Saturday, 27 May 2023 at 21:14:04 UTC, Marcone wrote:
This error occurs because there is an attempt to display a message in a console window that is disabled. To fix this error, comment lines in qte56.d that contain writeln(....) function; usually these are error messages.

May 28
On Sunday, 28 May 2023 at 14:40:53 UTC, MGW wrote:
> On Saturday, 27 May 2023 at 21:14:04 UTC, Marcone wrote:
> This error occurs because there is an attempt to display a message in a console window that is disabled. To fix this error, comment lines in qte56.d that contain writeln(....) function; usually these are error messages.

Very good! Now the program works great. Thanks a lot for the help. it all worked out now. I wonder if QtE56 was new updates with more support for all Qt6 functionality. Thanks.