On 02/12/2019 9:05 AM, Marcone wrote:
My program have Qt5 GUI that use dlls, icons, pictures, etc.
How bundles a Dlang application and all its dependencies into a single
.exe package?
Placing all your assets into an exe is usually done if the exe itself is
self extracting (and doesn't link a
On Sunday, 1 December 2019 at 15:20:42 UTC, Per Nordlöw wrote:
Is it possible to compile and run unittest of dmd without
druntime and phobos?
If so, how?
I'm trying the following under dmd root:
make -C src -f posix.mak unittest
./generated/linux/release/64/dmd-unittest
but that does
On Sunday, 1 December 2019 at 20:05:40 UTC, Marcone wrote:
My program have Qt5 GUI that use dlls, icons, pictures, etc.
How bundles a Dlang application and all its dependencies into a
single .exe package?
I've used https://github.com/rikkimax/Bin2D in the past. I've
never thought about the l
On Sunday, December 1, 2019 8:20:42 AM MST Per Nordlöw via Digitalmars-d-
learn wrote:
> Is it possible to compile and run unittest of dmd without
> druntime and phobos?
>
> If so, how?
>
> I'm trying the following under dmd root:
>
> make -C src -f posix.mak unittest
> ./generated/linux/
On Sunday, 1 December 2019 at 20:05:40 UTC, Marcone wrote:
How bundles a Dlang application and all its dependencies into a
single .exe package?
You can embed files in the .exe using the import statement:
https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable
On Sunday, 1 December 2019 at 20:05:40 UTC, Marcone wrote:
My program have Qt5 GUI that use dlls, icons, pictures, etc.
How bundles a Dlang application and all its dependencies into a
single .exe package?
There are several tools creating installers such as nsis.
However, if you want to make
My program have Qt5 GUI that use dlls, icons, pictures, etc.
How bundles a Dlang application and all its dependencies into a
single .exe package?
Is it possible to compile and run unittest of dmd without
druntime and phobos?
If so, how?
I'm trying the following under dmd root:
make -C src -f posix.mak unittest
./generated/linux/release/64/dmd-unittest
but that doesn't compile my file of interest
test/compilable/traits.d
.
Ho
On Saturday, 30 November 2019 at 18:15:47 UTC, Treebeard wrote:
Hoom, hum, I met a dark forest of complains from the compilers
here.
[...]
/me thinks it's a bug
Pushed a pr. Let's see.
https://github.com/dlang/phobos/pull/7298
On Sunday, 1 December 2019 at 12:26:03 UTC, Michael Green wrote:
I don't know if this would be a sensible approach to try and
get at the actual class types for objects stored in some
container at runtime?
You can get the type at runtime by simply casting it...
if(auto c = cast(EventSocket) ev
On Sunday, 1 December 2019 at 12:26:03 UTC, Michael Green wrote:
interface Event {
[note to self - shouldn't make last minute checks and reverse
them by hand before posting]
That should of course read:
class Event {
I don't know if this would be a sensible approach to try and get
at the actual class types for objects stored in some container at
runtime?
I have noticed that this approach doesn't work if Event is an
interface rather than a ancestor class.
```
import std.stdio;
import std.string;
import s
12 matches
Mail list logo