www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D + Qt + QtDesigner

reply MGW <mgw yandex.ru> writes:
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
Nov 21 2021
next sibling parent reply WebFreak001 <d.forum webfreak.org> writes:
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
this is really neat! Do you have some code for us to play around with?
Nov 21 2021
parent reply MGW <mgw yandex.ru> writes:
 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
Nov 21 2021
next sibling parent zjh <fqbqrr 163.com> writes:
On Sunday, 21 November 2021 at 17:17:34 UTC, MGW wrote:

 https://github.com/MGWL/QtE5
Can you write an article to introduce it in detail?
Nov 21 2021
prev sibling parent reply zjh <fqbqrr 163.com> writes:
On Sunday, 21 November 2021 at 17:17:34 UTC, MGW wrote:

`with d compile`:`Error find function: QtE5Widgets32.dll ---> 
qteQPointer_create`...
and
```d
The numbers in pFunQt[] is null: 24, 25, 26, 351, 352, 353, 354, 
355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 
393, 445, 446, 447, 451, 452, 453, 454, 455, 456, 457, 458, 459, 
464, 465, 466, 467, 468,
object.Error (0): Access Violation
```
with `t2.cpp`,no problem.
Nov 22 2021
parent reply MGW <mgw yandex.ru> writes:
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 mgw yandex.ru
Nov 22 2021
parent reply zjh <fqbqrr 163.com> writes:
On Monday, 22 November 2021 at 12:58:19 UTC, MGW wrote:

The above error may be the wrong compiled version. It may due to 
conflict between `msys` and`MSVC`.
  What is the difference between `qe56 and qe5`?

I downloaded `qt5.14.2-msvc-32` first.
The `qte5widgets32.DLL` in the `windows32` directory reports that 
some of the functions I reported above are missing.
Then in the `build` directory, I compiled a `qte5widgets.DLL` 
with `qtcreator`, renamed it with `qte5widgets32.DLL` and put it 
into `rtl_qt5_32` directory.
Put `example.d` in the `example` directory into `source` and 
compile `examples.exe`. Report error: ` unable to locate 
?textalignment QtTableWidgetItem  Qbehxz in qte5widgets32.DLL`. 
How to deal with it?
Nov 22 2021
parent reply zjh <fqbqrr 163.com> writes:
On Monday, 22 November 2021 at 13:32:18 UTC, zjh wrote:

`?textAlignment QtTableWidgetItem  QBEHXZ
`
Nov 22 2021
parent reply zjh <fqbqrr 163.com> writes:
On Monday, 22 November 2021 at 13:36:30 UTC, zjh wrote:
 On Monday, 22 November 2021 at 13:32:18 UTC, zjh wrote:
`Baidu` translation is too rubish. I can't visit `youtube.com`, can not watch videos. Above `example.d` is compiled into `example.exe` and then copied into `rtl_qt5_32` directory, and use `cl % qte5.cpp` compile `t2.cpp+qte5.cpp` in `source`,put it into `rtl_qt5_32` directory, it runs well.
Nov 22 2021
parent MGW <mgw yandex.ru> writes:
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.
Nov 22 2021
prev sibling next sibling parent reply Gavin Ray <user example.com> writes:
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! Appreciate you taking the time to make the video -- I think I would have had a hard time figuring out how to use all the pieces you have (the Python script, the code generator Qt GUI app, etc) without it. I will download from YouTube and post raw video link download here so that others who don't have YouTube access can watch. Have to try to find what websites they can use.
Nov 27 2021
next sibling parent reply Gavin Ray <user example.com> writes:
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! Appreciate you taking the time to make the video -- I think I would have had a hard time figuring out how to use all the pieces you have (the Python script, the code generator Qt GUI app, etc) without it. I will download from YouTube and post raw video link download here so that others who don't have YouTube access can watch. Have to try to find what websites they can use.
** zjh**, I hope you can access it here. I tried to search for what sites GFW users could access, some places suggested this one: https://mega.nz/file/FhgCwRSJ#NFqvJfXx2K_cy6DKNQIMCbqMQURgBsj8tTuMxpZSuLw
Nov 27 2021
parent reply zjh <fqbqrr 163.com> writes:
On Saturday, 27 November 2021 at 16:58:11 UTC, Gavin Ray wrote:

 ** zjh**, I hope you can access it 
 here.https://mega.nz/file/FhgCwRSJ#NFqvJfXx2K_cy6DKNQIMCbqMQURgBsj8tTuMxpZSuLw
Although I still can't access it,I would say `thank you very much`. If you can, you can try `[Baidu cloud disk](https://pan.baidu.com/)` or [lanzous](https://up.woozooo.com/account.php?action=login&re =/mydisk.php)cloud. Baidu cloud disk has a large space, lanzous cloud < 100m is fast, or `Alibaba cloud / Tencent cloud/360...` I also translated several 'qte5' documents, which may be inaccurate, of course, because I don't understand 'Russian'. I'll release them in a few days.
Nov 27 2021
next sibling parent reply MGW <mgw yandex.ru> writes:
QtE56 Quick Start Guide.

https://github.com/MGWL/QtE5/wiki
Nov 28 2021
next sibling parent zjh <fqbqrr 163.com> writes:
On Sunday, 28 November 2021 at 10:41:44 UTC, MGW wrote:
 QtE56 Quick Start Guide.

 https://github.com/MGWL/QtE5/wiki
Thank you.I'll try it.
Nov 28 2021
prev sibling parent zjh <fqbqrr 163.com> writes:
On Sunday, 28 November 2021 at 10:41:44 UTC, MGW wrote:
 QtE56 Quick Start Guide.

 https://github.com/MGWL/QtE5/wiki
[chinese version](https://fqbqrr.blog.csdn.net/article/details/121657491)
Dec 01 2021
prev sibling parent reply Matheus <matheus gmail.com> writes:
On Sunday, 28 November 2021 at 01:04:01 UTC, zjh wrote:
 On Saturday, 27 November 2021 at 16:58:11 UTC, Gavin Ray wrote:

 ** zjh**, I hope you can access it 
 here.https://mega.nz/file/FhgCwRSJ#NFqvJfXx2K_cy6DKNQIMCbqMQURgBsj8tTuMxpZSuLw
Although I still can't access it...
Can't you use https://yt5s.com/ to download the video from youtube? Matheus.
Dec 01 2021
parent reply zjh <fqbqrr 163.com> writes:
On Wednesday, 1 December 2021 at 13:21:53 UTC, Matheus wrote:

 Can't you use https://yt5s.com/ to download the video from 
 youtube?

 Matheus.
I can't.`Many websites` are inaccessible.
Dec 01 2021
parent reply Matheus <matheus gmail.com> writes:
On Wednesday, 1 December 2021 at 13:55:32 UTC, zjh wrote:
 On Wednesday, 1 December 2021 at 13:21:53 UTC, Matheus wrote:

 Can't you use https://yt5s.com/ to download the video from 
 youtube?

 Matheus.
I can't.`Many websites` are inaccessible.
Internet Archive? -If yes I'll upload there. Matheus.
Dec 01 2021
parent zjh <fqbqrr 163.com> writes:
On Wednesday, 1 December 2021 at 15:41:05 UTC, Matheus wrote:

 Internet Archive? -If yes I'll upload there.

 Matheus.
No,[Baidu cloud disk](https://pan.baidu.com/) or [lanzou,best<100M](https://up.woozooo.com/) or [aliyun](https://www.aliyundrive.com/)or[360yun](https://yunpan.360.cn/) [jianguo](https://www.jianguoyun.com/d/login#from=https%3A%2F%2Fwww.jianguoyun.com%2F) or [115](https://115.com/).
Dec 01 2021
prev sibling parent MGW <mgw yandex.ru> writes:
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
Nov 28 2021
prev sibling next sibling parent Marcone <marcone email.com> writes:
How can I solve this error?

Error: undefined identifier `QFormBuilder`
Apr 26 2022
prev sibling parent Marcone <marcone email.com> writes:
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?
May 23 2022