is dmd a virus?
https://www.virustotal.com report:
Cybereason --> Malicious.779f29
VBA32 --> BScope.Trojan.DShell
Probably did not compile
QtE5-master/build/QtE56/qte56core.pro
QtE5-master/build/QtE56/qte56widgets.pro
Use QMAKE to build a DLL/SO
More details by mail: m...@yandex.ru
Can you explain in more detail some points that are difficult for
me:
widgets/label.d file. I see a C++ mapping of class QLabelPrivate
to structure D
extern(C++, class) struct QLabelPrivate;
this makes sense.
I see below an implementation of a class D named QLabel
class /+ Q_WIDGETS_EXPORT
I wrote a converter, but also had to make many manual changes.
I realized that without a converter you can't do this kind of
volume ... I'm thinking about a converter too, I keep thinking
and thinking
Please - more comments in the examples, a lot of non-obvious
constructions. The
On Sunday, 5 December 2021 at 12:54:21 UTC, Tim wrote:
DQt contains new experimental bindings for using a subset of Qt
with D.
Qt is a library for writing cross-platform graphical user
interfaces.
Currently bindings exist for the Qt modules core, gui and
widgets. The
bindings use extern(C++)
On Saturday, 27 November 2021 at 16:48:54 UTC, Gavin Ray wrote:
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:
QtE56 Quick Start Guide.
https://github.com/MGWL/QtE5/wiki
On Monday, 22 November 2021 at 13:55:17 UTC, zjh wrote:
ory, it runs well.
Qt should be opensource with mingw (this is the gcc port on
windows), NOT MsVC. Slightly obsolete (no resources and Qt
designer) you can just take in folder demo_Qt6. There's a full
set of ready-made files in there.
On Monday, 22 November 2021 at 09:58:20 UTC, zjh wrote:
On Sunday, 21 November 2021 at 17:17:34 UTC, MGW wrote:
From such a short piece, I can't tell exactly what's going on.
The first thing to do is to determine whether you have a 32 or 64
bit version of Qt installed. If for example 32, then
Do you have some code for us to play around with?
The video shows a download from github:
https://github.com/MGWL/QtE5
There is a folder examples/qte56help2
Copy files QtE56core.dll, QtE56widgets.dll (*.so for linux) into
it and build the application:
1) rcc -binary a3.qrc -o a3.rcc
2) dmd
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
I want to meet Qt 6 by creating QtE6. This forced me to update
github/QtE5 to the latest stable version: widgetsXX.dll/so +
qte5.d (qt 5.12.7). Programming is easy, compilation does not
require Qt metacompiler (it uses a set of ready-made slots),
works on Linux and Windows. Of course this is
GC cleans memory using the FIFO paradigm. Is it possible to
switch GC to work using the LIFO paradigm?
string[] m = stdin.byLineCopy.array;
How to make strip() for each line in an expression ...
Need help:
There' s a large text file (hundreds of thousands of lines).
The structure is as follows:
2345|wedwededwedwedwe ..
872625|rfrferwewweww .
23|rergrferfefer
It is necessary to sort this file by the first field having
received:
23|rergrferfefer...
I have recently looked through Haiku OS and got surprised to find
there dmd 2.072.
There was only running file but Phobos and DrinTime were missing.
Are there any plans to port dmd to Haiku OS nowadays?
Is there a manual (example) on dmd porting on Haiku OS?
On Saturday, 21 July 2018 at 19:11:08 UTC, Dr.No wrote:
So I went to try out QWebView on Windows from this wrapper:
https://github.com/MGWL/QtE5
all the examples went fine until I tried QWebView:
Prior to version Qt-5.5 WebKit was used, and for later versions
of chromium-based WebEngine.
On Thursday, 5 July 2018 at 08:42:39 UTC, drug wrote:
There were several attempts to make Qt binding for dlang ...
QtE 5 works great on Win32/64, Linux 32/64 and Mac OS x 64. The
main difference is that Qt5 uses a set of pre-defined slots and
signals rather than creating them using a MOC or
On Friday, 8 June 2018 at 05:00:57 UTC, TheGag96 wrote:
I'm sorry about bringing this into here instead of DWT's
subforum, but it's somewhat dead and hasn't been getting a lot
of attention. I decided to finally play around with DWT today
and tried to build the example. I got this:
Performing
The QtE5 added ability to work with QML.
Created QtE5Qml.dll (. so) as plug-in QtE5.
Example in repo folder "QML"
Compile example: dmd qml.d qte5.d
Execute example: qml test3.qml
https://pp.userapi.com/c834103/v834103884/1546bb/Cp3wRDL5nCA.jpg
https://github.com/MGWL/QtE5
On Saturday, 19 May 2018 at 23:52:58 UTC, IntegratedDimensions
wrote:
I have a member callback that I want to use as a C callback.
http://www.agner.org/optimize/calling_conventions.pdf
https://www.youtube.com/watch?v=xhDS377mAc4
Я работаю в Москве и вполне мог бы заняться этим направлением.
On Friday, 16 March 2018 at 04:57:57 UTC, Dmitry Olshansky wrote:
On Friday, 16 March 2018 at 00:18:20 UTC, Ivan Kazmenko wrote:
QtE5 is available not only to D now, but also for different to C
++ compilers.
Testing:
1 - dmc 32 Windows
2 - g++ 32/64 Linux
3 - ms vc 32/64 Windows
4 - minGw 32 Windows
https://pp.userapi.com/c840623/v840623121/5b819/QuGS7P8ZBQ0.jpg
https://www.youtube.com/watch?v=2M8hQo4Uoa0=11s
On Wednesday, 17 January 2018 at 08:06:57 UTC, MGW wrote:
Support of the DB and the interpreter of the MUMPS (MiniM)
It is my attempt to study MUMPS bd. All applications are the D +
QtE5 of my manufacture. Work in Linux, Windows and OSX.
https://www.youtube.com/watch?v=lOBq9XEJ0vs
Support of the DB and the interpreter of the MUMPS (MiniM)
language which is built in it is added.
http://www.minimdb.com/
Source files:
minimono.d, zdll.d are in
https://github.com/MGWL/QtE5/tree/master/ide5
The is GUI app for operation with the interpreter and BD as an
example. It is small
On Wednesday, 22 November 2017 at 08:29:26 UTC, MGW wrote:
Possibly it will be interesting
https://pp.userapi.com/c639524/v639524332/60240/uH3jnxrchik.jpg
On Tuesday, 21 November 2017 at 23:12:33 UTC, Markus wrote:
hi, im trying to interface a cpp class. I'd like to interface a
bigger library and I'm trying to figure out the minimum effort.
Possibly it will be interesting
https://www.youtube.com/watch?v=HTgJaRRfLPk
On Sunday, 12 November 2017 at 10:26:33 UTC, user1234 wrote:
Hello, i was a bored yesterday and between two movies tried to
install it (it was before the announce) and i have to say that
it's not clear at all and delete it.
The main reason is that i expected the top level dub JSON to
produce
QtE5 - gained further development. The new mechanism of operation
with memory
is realized that allowed will get rid of crash of applications in
case of completion.
The summary code amount increases all the time. New classes from
Qt are added.
Now the code amount reached:
qte5.d
On Wednesday, 8 November 2017 at 06:34:27 UTC, Andrew Edwards
wrote:
I'm having a little bit of problem calling D code from C++ and
would appreciate some assistance. First, given the following
C++ program wich compiles, links, and runs without any problem:
The useful material.
I need library for generation of QR codes. Who knows, give the
link.
Memory allocation and deallocation when an application is being
completed in GC operates in FIFO sequence.
Is there a possibility to shift GC memory deallocation to LIFO
mode?
It`s connected with the fact that GUI library (Qt) creates
QApplication first,
but GC destroys this object first when
On Friday, 28 July 2017 at 14:58:01 UTC, Ali wrote:
While the Orgs using D page is very nice ... I hoping to hear
more personal stories ...
I use D2 since 2014. I had wide experience of C programming
earlier. Now I use only DMD in all projects, except special. At
the initial stage there were
On Tuesday, 25 July 2017 at 21:51:39 UTC, Adam D. Ruppe wrote:
On Tuesday, 25 July 2017 at 12:11:08 UTC, MGW wrote:
Where can I find the ready made for usage or how to create
cryptro.lib and ssl.lib for Windows 32 that are necessary for
my project?
Do you have the crypto.dll and ssl.dll? If
I want to make an application with use http2.d from packet arsd.
Where can I find the ready made for usage or how to create
cryptro.lib and ssl.lib for Windows 32 that are necessary for my
project?
On Thursday, 15 June 2017 at 13:16:24 UTC, CRAIG DILLABAUGH wrote:
The purpose - search of changes in file system.
Sorting is a slow operation as well as hashing. Creation of a
tree, is equally in sorting.
So far the best result:
string[] rez;
foreach(str; m2) {
bool fFind; int
There are two arrays of string [] mas1, mas2; Size of each about
5M lines. By the size they different, but lines in both match for
95%. It is necessary to find all lines in an array of mas2 which
differ from mas1. The principal criterion - speed. There are the
8th core processor and it is good
On Friday, 26 May 2017 at 12:49:27 UTC, Oleksii wrote:
Hi,
Call methods and property C++ from D. Interface C++ and D and
their interaction.
https://pp.userapi.com/c636630/v636630885/4657a/07wCn5hbHHo.jpg
https://www.youtube.com/watch?v=HTgJaRRfLPk
On Sunday, 21 May 2017 at 05:52:11 UTC, Ecstatic Coder wrote:
Since a few months, I'm using D for all my command-line tools.
I consider that D and phobos are quite ready for constant use. As
for alternative libraries, I selected a way of integration with
Qt. One Small example of my operation
On Wednesday, 17 May 2017 at 19:48:42 UTC, Igor wrote:
On Wednesday, 17 May 2017 at 18:03:04 UTC, Igor wrote:
What exactly do mean by "binding"?
Also I am wondering if using extern(C) as opposed to extern(D)
only affects name mangling or am I losing some DLang
possibilities since I am only
On Monday, 24 April 2017 at 00:55:45 UTC, Nierjerson wrote:
Still trying to get the com automation code working. This is a
Please, use ZIP for archive.
On Thursday, 23 March 2017 at 18:10:20 UTC, Dillen Meijboom wrote:
Hi there,
I'm learning D for a while because it's really easy to use
C-code in D.
The problem is that I don't really get how to deal with the
data structures defined in C in D.
Perhaps, it will be interesting to you.
I
On Tuesday, 7 February 2017 at 13:37:01 UTC, Atila Neves wrote:
Here still example
https://pp.vk.me/c636630/v636630885/46579/neSdIip1ySI.jpg
On Tuesday, 7 February 2017 at 13:37:01 UTC, Atila Neves wrote:
On Tuesday, 7 February 2017 at 10:46:24 UTC, kinke wrote:
I've only every done trivial C++ integration before. As soon as
I tried something "real" it all broke down incredibly fast.
Probably going to have to file some bugs on
On Sunday, 5 February 2017 at 16:16:42 UTC, unDEFER wrote:
On Sunday, 5 February 2017 at 14:37:48 UTC, MGW wrote:
Can't load libQtE5Widgets64.so from current directory.
Tried
$ export LD_LIBRARY_PATH=`pwd`; ./ide5 -i pr1.ini
$ export LIBRARY_PATH=`pwd`; ./ide5 -i pr1.ini
$ sudo ldconfig `pwd`
On Sunday, 5 February 2017 at 10:43:38 UTC, unDEFER wrote:
$ dmd ide5 qte5 qte5prs asc1251 ini -release -m64
ide5.d(130): Error: undefined identifier 'Highlighter', did you
mean variable 'highlighter'?
Скорее всего qte5.d взята из примеров, а правильная есть:
QtE5-master/source/qte5.d
Для
On Saturday, 4 February 2017 at 18:12:25 UTC, unDEFER wrote:
On Friday, 3 February 2017 at 19:17:54 UTC, MGW wrote:
// All source files in the current folder
// Все исходники в текщем каталоге
ide5.d ini.d qte5prs.d asc1251.d qte5.d libQtE5Widgets64.so
pr1.ini ide5sh.txt
// Set current
On Wednesday, 1 February 2017 at 15:12:42 UTC, unDEFER wrote:
And what important for you for Good IDE?
Simple IDE. It is possible that that is useful from this what is.
I permanently use it as it is very quickly.
https://www.youtube.com/watch?v=RBan5Dwt_JM
On Wednesday, 18 January 2017 at 23:33:15 UTC, Dmitry Olshansky
wrote:
On 1/18/17 1:00 PM, MGW wrote:
Sourse files
https://github.com/MGWL/QtE5/tree/master/examples/1C_vk
I managed to create plugin for 1C:Enterprise
(http://1c.ru/eng/title.htm).
The major difficulty in realization C++ interfaces is
successfully overcome.
I need a more detailed description of compatibility of
structures, classes and interfaces between C++ and D.
For clarity you can see this
On Monday, 16 January 2017 at 00:07:44 UTC, Adam D. Ruppe wrote:
That's just interfaces and classes in D, so change struct to
those words and go fro there.
// --- jd.d: compile: dmd -c jd
import std.stdio;
extern (C++) interface IHome { int sum(int, int); };
extern (C++) void
On Sunday, 15 January 2017 at 19:00:49 UTC, MGW wrote:
Hi!
struct IInterface {};
struct IMsgBox : public IInterface {
virtual bool Confirm(const wchar* queryText, tVariant* retVal) =
0;
virtual bool Alert(const wchar* text) = 0;
};
Hi!
I write plugin for 1C:Enterprise 8.3 on dmd now.
https://youtu.be/apLppufZulI
I try to repeat structure C++ (interface) on dmd.
But D no inheritance of structures. What it is possible
to replace with the D following code on C ++struct IInterface {};
C++
-
struct IMsgBox : public
On Thursday, 15 December 2016 at 20:16:10 UTC, unDEFER wrote:
Hello, my dear friends!
So many days you answers on many my questions.
And today I glad to present my work: unDE 0.1.0.
It is very original file manager, image and text viewer.
More information:
On Friday, 2 December 2016 at 08:34:42 UTC, Sönke Ludwig wrote:
Together with DMD 2.072.1, DUB 1.1.1 has been released.
Binaries are included in the DMD distribution and are also
available separately on https://code.dlang.org/download.
This patch release includes some fixes for issues with
On Wednesday, 23 November 2016 at 18:54:35 UTC, Igor Shirkalin
wrote:
Igor, is the good Russian-speaking forum
https://vk.com/vk_dlang.
There are articles on GUI and other aspects of dlang.
On Tuesday, 22 November 2016 at 15:53:39 UTC, Steven
Schveighoffer wrote:
On 11/21/16 11:53 AM, ag0aep6g wrote:
Thank you very much for explaining such a difficult and slippery
situation.
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[] buf;
for(int j; j != 1; j++) buf
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[] buf;
for(int j; j != 1; j++) buf ~= 65;
MessageBoxA(null, "--on for--".ptr, "".ptr, 0);
// delete buf; // if ON - then
On Saturday, 19 November 2016 at 22:18:39 UTC, Sai wrote:
I have seen luad and Walters own JavaScript VM that can be used
in D for embedded scripting purpose in an application.
I was wondering which is more popular among D applications? Any
suggestions?
Thanks, sai
Look at one more
Warm-up for mind. Visual Basic 6 is used as framework for DLL on
D. Calls of functions from VB to D and from D to VB are available
that allows to control the form on VB directly from DLL on D.
https://pp.vk.me/c638421/v638421885/9bee/0KJYM0QafWQ.jpg
Having a huge project (approximately 8000 strings) and while
supporting it permanently I often find out that changes that take
place in new versions of the program (particularly in 2.072)are
too hard to perceive and use (especially the basic notions have
been replaced, for ex.:the sorting of
Support of JavaScript which is a part of Qt-5 is added to QtE5.
The possibility of a call from the JS functions and methods
written to D is provided. There is an opportunity to save JS
status in case of execution of a series of scripts and from D to
read values of any variables in JS.
On Friday, 30 September 2016 at 11:09:37 UTC, rikki cattermole
wrote:
There is no way to do this.
it is necessary to add section to dub:
"enviroment": [
{ "LD_LIBRARY_PATH", "$PACKAGE_DIR" },
{ "MY_VARIABLE", "$PACKAGE_DIR/IMAGES"}
]
My STARTING application shall read the enviroment variable.
For example MY_VARIABLE= "I'm Gena".
The MY_VARIABLE variable needs to be set in dub.json so
what she would be visible in case of start of my application.
Purpose: to set LD_LIBRARY_PATH having specified a certain
directory in dub
I make a packet for dub in Linux. In a packet there is libQt.so
which is loaded by an example of D. Usually I execute
LD_LIBRARY_PATH='pwd'; export LD_LIBRARY_PATH, but now it is
necessary to make it in dub. How to make it?
On Saturday, 27 August 2016 at 07:13:01 UTC, Nicholas Wilson
wrote:
easiest method would be to mark the D class extern(C++) noting
that in C++ a D class reference becomes a pointer to the C++
class.
In "the D class extern(C++)" do't work phobos.
Method which I use now:
source D:
-
extern (C) {
int on_metFromD(CEditWin* uk, int aa, int bb) {
return (*uk).metFromD(int aa, int bb);
}
}
class CEditWin {
. . .
// Method for to call
int metFromD(int a, int b) {
return a + b;
}
}
main() {
On Sunday, 21 August 2016 at 17:21:14 UTC, eugene wrote:
On Sunday, 21 August 2016 at 13:18:04 UTC, MGW wrote:
Hello, could you share your experience with D language? How it
feels to work with it?
The excellent programming language is D. I all the projects make,
nearly two years, only on D
On Thursday, 23 June 2016 at 13:04:09 UTC, Jozsef wrote:
Nice work!
I do not know if performance of the Forth interpreter is
important, but I would replace the following sequence to spare
a function call.
CALL label; ret; --->>> JMP label;
Many thanks for the note on forth!
This is very nice! I would love to know how you managed to get
it working. I had trouble with signals and slots, the class
hierarchy, and numerous other things when I was trying to get
Qt4 to work in D. How did you handle the Qt class constructors
and destructors, etc.?
Well, there are too
This my library has about 400 functions from Qt and is quite
efficient for small applications.
https://github.com/MGWL/QtE5
Small video about QtE5 and id5 written on its basis - an example
of use.
QtE5 on Mac OSX
https://www.youtube.com/watch?v=JBA4vkT5uKE
How can we build QtE5 and/or the examples?
Download qte5.zip from github. Unzip it to qte5-master.
If you have Windows 32 then copy
qte5-master/windows32/QtE5Widgets32.dll to folder qte5-master.
Copy RunTime Qt-5 (all files and folders from
qte5-master/windows32/rt_Qt5_windows32.zip) to
On Sunday, 29 May 2016 at 11:03:36 UTC, Russel Winder wrote:
GKT+ has a reputation for being dreadful on OSX and even worse
on Windows. Qt on the other hand has a reputation for being the
most portable – though clearly wx is (arguable) the most
portable.
QtE5 - is my wrapper for Qt-5
Windows 7 32bit
---
import std.stdio;
import std.conv;
class CFormaMain {
~this() {
char[] zz = [ 'A', 'B', 'C' ];
writeln(to!string(zz));
}
}
int main(string[] args) {
CFormaMain formaMain;
formaMain = new
On Thursday, 31 March 2016 at 11:47:34 UTC, MGW wrote:
--
Help me to optimize this source code. How to apply here delegates
and generally whether possibly to make it here
I for myself write Qt-5 wrapper. I use calls from Qt (C ++) as
extern (C) calls.
Prompt how to write this code well and with use of abilities to
integrate D and C ++
--
// ex4.d - Concepts of QAction.QtE5
// compile -
// dmd ex4 qte5
import core.runtime;
import
On Sunday, 13 March 2016 at 16:02:07 UTC, WebFreak001 wrote:
However note that this is not the same as that function.
cast(void*)this and are 2 different things. So if you
want to do the same as saveThis just do void* thisAddr =
cast(void*) instead
void* thisAddr = cast(void*)
Error
On Sunday, 13 March 2016 at 15:49:20 UTC, WebFreak001 wrote:
On Sunday, 13 March 2016 at 15:43:02 UTC, MGW wrote:
I want to get address of object Cfoo in constructor. Whether
it is possible?
class Cfoo {
void* adrThis;
this() {
adrThis = cast(void*) this;
I want to get address of object Cfoo in constructor. Whether it
is possible?
now:
-
class Cfoo {
void* adrThis;
void saveThis(void* adr) { adrThis = adr; }
}
...
Cfoo foo = new Cfoo(); foo.saveThis();
shall be
--
class Cfoo {
void* adrThis;
The citation from https://dlang.org/spec/hash-map.html
Static Initialization of AAs
immutable long[string] aa = [
"foo": 5,
"bar": 10,
"baz": 2000
];
unittest
{
assert(aa["foo"] == 5);
assert(aa["bar"] == 10);
assert(aa["baz"] == 2000);
}
Judging
immutable long[string] aa = [
"foo": 5,
"bar": 10,
"baz": 2000
];
... Error: non-constant expression ["foo":5L, "bar":10L,
"baz":2000L]
I think what to make "pure" GUI for D there is a waste of time
and forces. More effectively and faster to develop "wrapper" for
Qt.
For myself I have made library QtE which possibilities suffice
me much. The main feature that addition of a new method or
property from Qt in QtE occupies
This is primer program on QtE
import std.stdio;// writeln
import core.runtime; // Processing of input parameters
import std.net.curl: get;
import qte; // work with Qt
class Exam: QMainWindow {
this() {
Hi!
My project has an error link:
Error 42: Symbol Undefined
_D6object9Exception6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC9Exception
On dmd 2.067.* everything gathered without mistakes. Where to
look for a mistake?
Thanks to all! The problem is localized!
Error in std.stdio.d
This example doesn't work!
// dmd 2.067.1 Win 32
import std.stdio;
void main(string[] args) {
File fw = File(panic.csv, w);
for(int i; i != 5000; i++) {
fw.writeln(i, ;, Иванов;Пётр;Иванович);
}
fw.close();
// Test
I think that found an error in the stdio module.
When reading the file consisting of entries in the coding UTF-8,
type:
...
16235;Иванов;Петр;Петрович;17.09.1961
8765;Петров;Иван;Васильевич;25.12.1978
...
total quantity of records about 3
there are errors: invalid secuence Utf-8
Linux 32, dmd 2.067.0
I want to connect and execute function D from main() C++.
d1.d
import core.stdc.stdio;
extern (C++) void d1() {
printf(printf - exec d1());
}
main_c1.cpp
#include stdio.h
void d1(void);
int main(void) {
d1();
return 0;
}
compile
I found the solution. A problem in different structures of FILE
for MSVC and DMC. I take the pointer on structure of FILE from
CrtDLL.dll
Everything works!
// MGW 07.05.15
import core.runtime; // Загрузка DLL Для Win
import std.stdio;// writeln
version(Windows) {
import
Greetings to all!
I work on Windows with cp1251 and I have a mistake in the program:
import std.stdio;
int main (string [] args) {
string nameFile = `«Ёлки с объектами №876».txt`;
File f = File (nameFile, w);
f.writeln (Greetings!);
return 0;
}
This mistake of a kind:
The decision, which I have applied using function
fromUtf8toAnsiW() already works correctly.
I use dmd 2.067.0
// MGW 05.01.14
// We model in D object C ++ QByteArray from Qt.
//
// Windows: dmd st1.d
// Linux: dmd st1.d -L-ldl
import core.runtime; // Load DLL for Win
import std.stdio;// writeln
version(linux) {
import core.sys.posix.dlfcn;
Example of D (dmd 2.065 64) with Qt 64 Windows64/Linux64. Running
programs *.EXE with key --debug.
http://yadi.sk/d/qLE7Kgz9SpKEX
I started using D2 about a year ago. Now all projects make to D2
along with the GUI QtE (Qt bindings own production).
http://qte.ucoz.ru/index/screenshots/0-6
95 matches
Mail list logo