Re: D + Qt + QtDesigner

2022-05-23 Thread Marcone via Digitalmars-d-announce

On Sunday, 21 November 2021 at 15:08:18 UTC, MGW wrote:

I am still developing my QtE5 library.
Unfortunately, I don't have enough free time to make it into a 
complete dub package.


Link to short video: http://www.youtube.com/watch?v=TFN5P4eoS_o


How can I add the qt dlls inside the exe to create a single file 
portable program?


Re: LDC 1.30.0-beta1

2022-05-23 Thread kinke via Digitalmars-d-announce

On Monday, 23 May 2022 at 01:42:31 UTC, zoujiaqing wrote:

The Arm64 version can't run on my MacBook:
https://github.com/ldc-developers/ldc/issues/3864


It should definitely *run*. The linked debuginfo issue for macOS 
12 targets mentions 2 workarounds - setting the 
`MACOSX_DEPLOYMENT_TARGET` env var to < 12 (recommended), or 
resorting to `-preserve-dwarf-line-section=false`.


Re: LDC 1.30.0-beta1

2022-05-23 Thread kinke via Digitalmars-d-announce

On Sunday, 22 May 2022 at 12:58:49 UTC, Test123 wrote:

There is a bug with this simple code.

```d
import ldc.attributes : assumeUsed;
@nogc nothrow extern(C):
export int test() @assumeUsed {
return 0;
}
```

[...]

If I enable lto there is no name for Export Table:


This works fine on my box, targeting Win64:

```

ldc2 -shared -O current.d -flto=full
dumpbin /exports current.dll

Microsoft (R) COFF/PE Dumper Version 14.29.30133.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file current.dll

File Type: DLL

  Section contains the following exports for current.dll

 characteristics
   0 time date stamp
0.00 version
   0 ordinal base
   3 number of functions
   2 number of names

ordinal hint RVA  name

  10 3038 _D7current12__ModuleInfoZ
  21 10A0 test
```