Re: DQt: Qt bindings using extern(C++)

2021-12-06 Thread MGW via Digitalmars-d-announce
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 +/ QLabel : QFrame
in which I see calls to methods of the QLabel class.

I don't understand at what stage (where exactly) the mapping
QLabelPrivate structure methods onto QLabel methods.

I expected to see something like:
QLabelPrivate dd = QLabelPrivate(...);
and then
dd.MetodsQLabel(...)

Can you explain this place in more detail.




Re: DQt: Qt bindings using extern(C++)

2021-12-06 Thread MGW via Digitalmars-d-announce

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 library is great, I really liked it!


Re: DQt: Qt bindings using extern(C++)

2021-12-06 Thread MGW via Digitalmars-d-announce

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++) and don't need any wrapper in C++. 
They are
based on Qt 5.15.2 and tested on Linux and Windows, but need a 
dmd

compiled from master for Windows.

For more details see the README.md in the repository:
https://github.com/tim-dlang/dqt

It is also available with dub:
https://code.dlang.org/packages/dqt


Nice work!
Did you use any converter to describe classes automatically, or 
is it all manual?




Re: D + Qt + QtDesigner

2021-11-28 Thread MGW via Digitalmars-d-announce

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: http://www.youtube.com/watch?v=TFN5P4eoS_o


Wow, this is really great! Thank you!

I write in D every day and quite often D + QtE56. These are 
mostly GUI applications for Windows 32. My firm belief - if 
something is not in Phobos, get it in Qt. The video shows the 
process of creating an application as compressed as possible to 
save time and size of the video file itself. I can make a more 
detailed video (with higher resolution) but I cannot speak it 
because of English problems.


https://github.com/MGWL/QtE5/wiki



Re: D + Qt + QtDesigner

2021-11-28 Thread MGW via Digitalmars-d-announce

QtE56 Quick Start Guide.

https://github.com/MGWL/QtE5/wiki



Re: D + Qt + QtDesigner

2021-11-22 Thread MGW via Digitalmars-d-announce

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. Just go to that folder and see 
the examples. You can compile 64 applications in this folder.


Re: D + Qt + QtDesigner

2021-11-22 Thread MGW via Digitalmars-d-announce

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 compile two 
files QtE56core32.dll and QtE56widgets32.dll Where to get the 
source files, what commands to give - see the video (see the 
topmost post). Then you need a file qte56.d and then you can 
start writing the application.


I can show you everything individually by video broadcasting 
(e.g. Skype). To do this you need to email me at m...@yandex.ru





Re: D + Qt + QtDesigner

2021-11-21 Thread MGW via Digitalmars-d-announce

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 qte56help2.d qte56.d lib56.d asc1251.d -release -J. -m64
Where rcc is the resource compiler for Qt.

For Linux - set LD_LIBRARY_PATH and run app.
export LD_LIBRARY_PATH=`pwd`; ./qte56help2




D + Qt + QtDesigner

2021-11-21 Thread MGW via Digitalmars-d-announce

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



QtE5 for Qt 6

2021-01-21 Thread MGW via Digitalmars-d-announce
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 not full Qt, but a 
small part that I use every day in my projects.


https://github.com/MGWL/QtE5


Add QML support in QtE5

2018-06-02 Thread MGW via Digitalmars-d-announce

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



Re: Seeking lecturer - D language (Moscow)

2018-03-19 Thread MGW via Digitalmars-d-announce

Я работаю в Москве и вполне мог бы заняться этим направлением.

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.

2018-02-25 Thread MGW via Digitalmars-d-announce
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



Re: Support of the DB and the interpreter of the MUMPS language which is built in it is added in QtE5

2018-01-27 Thread MGW via Digitalmars-d-announce

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 language which is built in it is added in QtE5

2018-01-17 Thread MGW via Digitalmars-d-announce
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 IDE for MUMPS (mide5.d)




Re: New QtE5 version and the test it - mini ide ide5

2017-11-12 Thread MGW via Digitalmars-d-announce

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 a kind of static library required by all the 
examples...so in a nutshell you must provide better 
instructions before disappointing more people. Sorry.


installation of QtE5 on win32
https://www.youtube.com/watch?v=d6-8lxs9xJo


New QtE5 version and the test it - mini ide ide5

2017-11-12 Thread MGW via Digitalmars-d-announce
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  - 6700 lines
qte5widgets.cpp - 3500 lines

The considerable efforts are made in development of bitmap 
graphics,
QBitmap, QResource, QPixmap are added and properties for QImage 
are added.

The operation technique with QPainter is fulfilled.

https://www.youtube.com/watch?v=iWnWMKsNt0E
https://github.com/MGWL/QtE5


Re: Plugin for 1C:Enterprise in dmd

2017-01-19 Thread MGW via Digitalmars-d-announce
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



Plugin for 1C:Enterprise in dmd

2017-01-18 Thread MGW via Digitalmars-d-announce
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 short video 
https://www.youtube.com/watch?v=apLppufZulI




Re: unDE 0.1.0: original file manager, image and text viewer

2016-12-16 Thread MGW via Digitalmars-d-announce

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: http://unde.sourceforge.net/en/ch24.html
Video with English subtitles: https://youtu.be/29zuxU9eyXo


Очень интересная работа. Взглянул на некоторые проблемы с другой 
стороны.

Интересно, это реализовано на D?


Re: Release DUB 1.1.1

2016-12-03 Thread MGW via Digitalmars-d-announce

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 optional 
and path based dependency resolution.


Full change log:
https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md


There is no set and change Environment variables for applications 
and it is difficult use DUB


Re: JavaScript ( QScript Qt-5 ) in GUI framework QtE5

2016-11-11 Thread MGW via Digitalmars-d-announce
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



JavaScript ( QScript Qt-5 ) in GUI framework QtE5

2016-10-31 Thread MGW via Digitalmars-d-announce
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.


screenshot:
https://pp.vk.me/c637429/v637429885/16b14/mSDeRXCZcdI.jpg

github
https://github.com/MGWL/QtE5



Re: QtE5 - is a wrapping of Qt-5 for D

2016-08-22 Thread MGW via Digitalmars-d-announce

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 (dmd) + Qt (QtE4 and QtE5). All 
projects and tools, including the D compiler and QtE5 library for 
all OS, can be stored on one flash drive. It is very pleasant as 
I work with different organizations and I not always have with 
myself my main computer.


Short video about my latest work. It is QtE5 installer for D 
(dmd).

https://youtu.be/G_b2SAYqIWI

installer QtE5
https://yadi.sk/d/sqhTCMneuN7rj

QtE5 on github
https://github.com/MGWL/QtE5



Re: QtE5 - is a wrapping of Qt-5 for D

2016-08-21 Thread MGW via Digitalmars-d-announce

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!

Development of QtE5 - a ready installer.

QtE5 - from a box. Before installation the compiler DMD shall be 
already set!


Ready installer: https://yadi.sk/d/sqhTCMneuN7rj

It isn't recommended to change the directory of installation 
since in "Program Files" by default record is forbidden, and 
during installation there is a compilation of programs D. In 
particular, there is a compilation of the check program RunTime 
Qt-5 and ide5. The installer creates an icon for "compilation and 
start" ide5. If every time again it isn't necessary to compile 
ide5, then create other icon with the necessary parameters.


In Linux installation is also possible if you have Wine. If you 
have DMD for Linux, then operation and with it is possible. For 
this purpose it is necessary to launch a script: "sh 
start_ide5.sh" - which compiles ide5 using the compiler dmd for 
Linux and QtE5 for Linux. There are ready 32 and 64 Linux of 
assembly and 32 Windows assembly.


Re: QtE5 - is a wrapping of Qt-5 for D

2016-06-22 Thread MGW via Digitalmars-d-announce
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 many questions.The majority of answers you 
can find in qte5widgets(h,cpp)files.The main thing is the set of 
readymade slots that are based in prepared class "eAction"(C++). 
This class has the address of the D function by way of property 
and when the slot is called it will just call the D function.

I suggest to continue the discussion at Github.


QtE5 - is a wrapping of Qt-5 for D

2016-06-20 Thread MGW via Digitalmars-d-announce
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



Re: QtE - D small binding for Qt.

2014-06-11 Thread MGW via Digitalmars-d-announce
Example of D (dmd 2.065 64) with Qt 64 Windows64/Linux64. Running 
programs *.EXE with key --debug.

http://yadi.sk/d/qLE7Kgz9SpKEX