www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - QtE5 - is a wrapping of Qt-5 for D

reply MGW <mgw yandex.ru> writes:
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
Jun 20 2016
next sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On 06/20/2016 12:52 PM, MGW wrote:
 This my library has about 400 functions from Qt and is quite efficient
 for small applications.
Ooh, awesome, this is something D really needs! Definitely going to have to give this a try.
Jun 20 2016
prev sibling next sibling parent Marco Leise <Marco.Leise gmx.de> writes:
Very nice!

-- 
Marco
Jun 20 2016
prev sibling parent reply w0rp <devw0rp gmail.com> writes:
On Monday, 20 June 2016 at 16:52:04 UTC, MGW wrote:
 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
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.?
Jun 22 2016
parent reply MGW <mgw yandex.ru> writes:
 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.
Jun 22 2016
parent reply Jozsef <joszef.sarosi logmein.com> writes:
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;
Jun 23 2016
parent reply MGW <mgw yandex.ru> writes:
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.
Aug 21 2016
parent reply eugene <egordeev18 gmail.com> writes:
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?
Aug 21 2016
parent reply MGW <mgw yandex.ru> writes:
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
Aug 22 2016
parent eugene <egordeev18 gmail.com> writes:
On Monday, 22 August 2016 at 08:38:12 UTC, MGW wrote:
 The excellent programming language is D. I all the projects 
 make, nearly two years, only on D (dmd) + Qt (QtE4 and QtE5).
What are the advantages and drawbacks you faced and face while working with D? How are old D programs compiled with new versions of D compiler? Did you rewrite old D programs using new D features during 2 years?
Aug 22 2016