www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GUI Library for D2+Phobos

reply "Mike James" <foo bar.com> writes:
What is the recommended GUI library for D2+ Phobos for Windows/Linux? 
Looking at the Wiki4D GUI page shows a number of them but none appear to be 
fully released.

-=mike=- 
Jun 23 2010
next sibling parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
Mike James Wrote:

 What is the recommended GUI library for D2+ Phobos for Windows/Linux? 
 Looking at the Wiki4D GUI page shows a number of them but none appear to be 
 fully released.
 
 -=mike=- 
Personally I have had issue with GTKD and DWT. The only one I found to work out of the box was DFL, but it is Windows only. Otherwise I'm sure if you would be willing GTKD and DWT would love to have your assistance in supporting D2+Phobos.
Jun 23 2010
parent Jacob Carlborg <doob me.com> writes:
On 2010-06-23 22:21, Jesse Phillips wrote:
 Mike James Wrote:

 What is the recommended GUI library for D2+ Phobos for Windows/Linux?
 Looking at the Wiki4D GUI page shows a number of them but none appear to be
 fully released.

 -=mike=-
Personally I have had issue with GTKD and DWT. The only one I found to work out of the box was DFL, but it is Windows only. Otherwise I'm sure if you would be willing GTKD and DWT would love to have your assistance in supporting D2+Phobos.
DWT would love that assistance. -- /Jacob Carlborg
Jun 24 2010
prev sibling next sibling parent reply Trass3r <un known.com> writes:
http://www.dsource.org/projects/qtd !
Jun 23 2010
next sibling parent reply Graham Fawcett <fawcett uwindsor.ca> writes:
On Wed, 23 Jun 2010 23:30:16 +0200, Trass3r wrote:

 http://www.dsource.org/projects/qtd !
What's the story on the DMD patch in the QTD project? Can we expect to see this in a future DMD release, or is it a QTD-only thing? http://www.dsource.org/projects/qtd/attachment/wiki/DmdPatch/ dmd.2.046.patch Graham
Jun 23 2010
parent Max Samukha <spambox d-coding.com> writes:
On 06/24/2010 02:08 AM, Graham Fawcett wrote:
 On Wed, 23 Jun 2010 23:30:16 +0200, Trass3r wrote:

 http://www.dsource.org/projects/qtd !
I would omit the exclamation mark for now.
 What's the story on the DMD patch in the QTD project? Can we expect to
 see this in a future DMD release, or is it a QTD-only thing?

 http://www.dsource.org/projects/qtd/attachment/wiki/DmdPatch/
 dmd.2.046.patch

 Graham
The patch is an experiment. If we are not able to do without that "parent" trait, we will submit an enhancement request.
Jun 24 2010
prev sibling parent "Rory McGuire" <rmcguire neonova.co.za> writes:
On Wed, 23 Jun 2010 23:30:16 +0200, Trass3r <un known.com> wrote:

 http://www.dsource.org/projects/qtd !
When I wanted to make a shaped window application on linux qtd was the only lib that worked easily.
Jun 25 2010
prev sibling parent reply Adrian Matoga <epi atari8.info> writes:
 What is the recommended GUI library for D2+ Phobos for Windows/Linux? 
 Looking at the Wiki4D GUI page shows a number of them but none appear to be 
 fully released.
DWT seems to be the official one, but AFAIK it's currently only for Tango (I've seen some attempts to port it to Phobos, I'll probably help if this is still active). I tried DFL once with D1 and it was fine. Currently the author states that it's not compatible with 2.046 (but you may try with 2.044). However, it's only for Windows. QtD looks very interesting, but I didn't manage to build it. Other users had same issue and noone wished to help, see QtD forums. The only GUI library which worked for me with D2 is GtkD. AM
Jun 24 2010
next sibling parent reply Max Samukha <spambox d-coding.com> writes:
On 06/24/2010 12:19 PM, Adrian Matoga wrote:

 QtD looks very interesting, but I didn't manage to build it. Other users
 had same issue and noone wished to help, see QtD forums.
QtD has 1.5 active developers. It is being tested only on 32-bit WinXP and linux. The build system and the library itself are very likely to have issues on 64-bit OSes but I probably won't be able to test it there until QtD is stable on 32-bit. The guy who was responsible for the build system left quite a while ago and the original QtD author has a job which takes most of his time. So there are not many people who can help. Sorry.
Jun 24 2010
next sibling parent reply Trass3r <un known.com> writes:
I don't have much time either but I might help testing on Win7 x64.
Jun 24 2010
parent reply Max Samukha <spam spam.com> writes:
On 24.06.2010 13:42, Trass3r wrote:
 I don't have much time either but I might help testing on Win7 x64.
Thanks!
Jun 29 2010
parent reply Trass3r <un known.com> writes:
Hmm getting an error from generator.exe:
procedure entry point "_Z17qt_message_output9QtMsgTypePKc" not found in  
DLL QtCore4.dll

using Qt 4.6.3 (qt-sdk-win-opensource-2010.04.exe), MinGW 4.4.1-tdm-2,  
CMake 2.8.2
Jun 30 2010
parent reply Max Samukha <spam spam.com> writes:
On 01.07.2010 0:26, Trass3r wrote:
 Hmm getting an error from generator.exe:
 procedure entry point "_Z17qt_message_output9QtMsgTypePKc" not found in
 DLL QtCore4.dll

 using Qt 4.6.3 (qt-sdk-win-opensource-2010.04.exe), MinGW 4.4.1-tdm-2,
 CMake 2.8.2
Looks like a wrong QtCore4.dll gets loaded. Could you check which exactly? This tool http://www.dependencywalker.com/ doesn't require installation.
Jun 30 2010
next sibling parent Trass3r <un known.com> writes:
Strangefully there are 2 different versions in bin and qt/bin.
I think the one in qt/bin is loaded because I added qt/bin to PATH which  
seems to be compiled with MSVC?!
Jul 01 2010
prev sibling parent reply Trass3r <un known.com> writes:
Though it should work. The one in qt/bin has the right mangling.
0000002F	0000FC64	002E	0021D8FD	_Z17qt_message_output9QtMsgTypePKc
Jul 01 2010
parent reply Max Samukha <spam spam.com> writes:
On 01.07.2010 12:16, Trass3r wrote:
 Though it should work. The one in qt/bin has the right mangling.
 0000002F 0000FC64 002E 0021D8FD _Z17qt_message_output9QtMsgTypePKc
Can you replace generator.exe with http://content5.files.mail.ru/U614WO/14cd74a490b9316173600cd95e161df6 and see if it starts? If it does, there's something wrong with mingw toolchain or the way it is invoked in the build script.
Jul 01 2010
parent reply Trass3r <un known.com> writes:
The link doesn't work for me.
Jul 01 2010
parent reply Max Samukha <spam spam.com> writes:
On 01.07.2010 14:04, Trass3r wrote:
 The link doesn't work for me.
This one should work http://d-coding.clanteam.com/generator.zip
Jul 01 2010
parent Max Samukha <spambox d-coding.com> writes:
On 07/01/2010 03:12 PM, Max Samukha wrote:
 On 01.07.2010 14:04, Trass3r wrote:
 The link doesn't work for me.
This one should work http://d-coding.clanteam.com/generator.zip
I've created a ticket http://www.dsource.org/projects/qtd/ticket/54. We'd better move the discussion there.
Jul 01 2010
prev sibling parent reply Adrian Matoga <epi atari8.info> writes:
Max Samukha pisze:
 On 06/24/2010 12:19 PM, Adrian Matoga wrote:
 
 QtD looks very interesting, but I didn't manage to build it. Other users
 had same issue and noone wished to help, see QtD forums.
QtD has 1.5 active developers. It is being tested only on 32-bit WinXP and linux. The build system and the library itself are very likely to have issues on 64-bit OSes but I probably won't be able to test it there until QtD is stable on 32-bit. The guy who was responsible for the build system left quite a while ago and the original QtD author has a job which takes most of his time. So there are not many people who can help. Sorry.
Ok, so if I can help, tell what to do.
Jun 24 2010
parent Max Samukha <spam spam.com> writes:
On 24.06.2010 17:10, Adrian Matoga wrote:
 Max Samukha pisze:
 On 06/24/2010 12:19 PM, Adrian Matoga wrote:

 QtD looks very interesting, but I didn't manage to build it. Other users
 had same issue and noone wished to help, see QtD forums.
QtD has 1.5 active developers. It is being tested only on 32-bit WinXP and linux. The build system and the library itself are very likely to have issues on 64-bit OSes but I probably won't be able to test it there until QtD is stable on 32-bit. The guy who was responsible for the build system left quite a while ago and the original QtD author has a job which takes most of his time. So there are not many people who can help. Sorry.
Ok, so if I can help, tell what to do.
If you know CMake, finding (and possibly fixing) the reason why QtD doesn't build on your installation would be great. QtD's build script works well most of the time but it has issues that prevent it from working correctly in some environments. For example, in the presence of cygwin. So any help with the build system would be appreciated.
Jun 29 2010
prev sibling parent reply "Robert Jacques" <sandford jhu.edu> writes:
On Thu, 24 Jun 2010 05:19:48 -0400, Adrian Matoga <epi atari8.info> wrote:

 What is the recommended GUI library for D2+ Phobos for Windows/Linux?  
 Looking at the Wiki4D GUI page shows a number of them but none appear  
 to be fully released.
DWT seems to be the official one, but AFAIK it's currently only for Tango (I've seen some attempts to port it to Phobos, I'll probably help if this is still active). I tried DFL once with D1 and it was fine. Currently the author states that it's not compatible with 2.046 (but you may try with 2.044). However, it's only for Windows. QtD looks very interesting, but I didn't manage to build it. Other users had same issue and noone wished to help, see QtD forums. The only GUI library which worked for me with D2 is GtkD. AM
DFL is working with 2.047.
Jun 24 2010
parent reply "theambient" <tiabaldu gmail.com> writes:
It seems to me that dfl is bold in a way.

I built simple app with single window and the footprint about 1 mb.
also it has a lot of dll dependencies.

I compared it with winx C++ Gui library - footprint is about 50 k.

-- 
--
Ruslan Mullakhmetov

"Robert Jacques" <sandford jhu.edu> сообщил(а) в новостях 
следующее:op.ves7c3lw26stm6 sandford.myhome.westell.com...
 On Thu, 24 Jun 2010 05:19:48 -0400, Adrian Matoga <epi atari8.info> wrote:

 What is the recommended GUI library for D2+ Phobos for Windows/Linux? 
 Looking at the Wiki4D GUI page shows a number of them but none appear 
 to be fully released.
DWT seems to be the official one, but AFAIK it's currently only for Tango (I've seen some attempts to port it to Phobos, I'll probably help if this is still active). I tried DFL once with D1 and it was fine. Currently the author states that it's not compatible with 2.046 (but you may try with 2.044). However, it's only for Windows. QtD looks very interesting, but I didn't manage to build it. Other users had same issue and noone wished to help, see QtD forums. The only GUI library which worked for me with D2 is GtkD. AM
DFL is working with 2.047.
Jun 24 2010
next sibling parent Adrian Matoga <epi atari8.info> writes:
 It seems to me that dfl is bold in a way.
 
 I built simple app with single window and the footprint about 1 mb.
 also it has a lot of dll dependencies.
 
 I compared it with winx C++ Gui library - footprint is about 50 k.
 
Still smaller than wxWidgets' one, still less dependent than in VCL. I agree 1MB is quite a lot for a program that does nothing, but in my short experience with D even some tiny console apps easily grow to that limit.
Jun 24 2010
prev sibling parent cemiller <chris dprogramming.com> writes:
On Thu, 24 Jun 2010 12:43:45 -0700, theambient <tiabaldu gmail.com> wrote:

 It seems to me that dfl is bold in a way.

 I built simple app with single window and the footprint about 1 mb.
 also it has a lot of dll dependencies.

 I compared it with winx C++ Gui library - footprint is about 50 k.
I don't think it's DFL's fault. Compile a DFL hello world with the recent DMD versions and you'll get 1.2 MB, but compile the same code with "stable" DMD 1.030 and it's 316 KB.
Jun 25 2010