DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th July 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 485
Default Are there Mono/C# bindings for QT,GTK3 in OpenBSD?

Hello,
I would like to write a simple program with GUI for OpenBSD.
I have heard some good things about C# language, but I don't know if in OpenBSD there are bindings for GUI libraries like QT,GTK3, which let me create GUI using Mono/C#.
I don't post this into "Programming" subforum because I think this is more similar to setting up toolchain, which I think is more administrator task than programming task, but if you don't agree with me feel free to move this topic to "Programming".
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #2   (View Single Post)  
Old 10th July 2016
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 356
Default

Maybe the mono-project, it has an OpenBSD port : mono-project.com for BSDs.
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #3   (View Single Post)  
Old 10th July 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,301
Default

Quote:
Originally Posted by e1-531g View Post
...I don't know if in OpenBSD there are bindings for GUI libraries like QT,GTK3, which let me create GUI using Mono/C#.
http://openports.se/search.php?so=Mono indicates the answer is "yes", however, I don't have personal knowledge of OpenBSD's port.

Last edited by ocicat; 11th July 2016 at 09:35 AM.
Reply With Quote
  #4   (View Single Post)  
Old 12th July 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 485
Default

I would rather not to use GTK2, because it is in maintanance mode for long time.
Do you also mean kimono? I don't know. I would like to use vanilla QT[4 or 5]. I think people on Gnu/Linux and Windows can use QTSharp, but it doesn't seem to be ported to OpenBSD.
Anyway I started writing GUI in Rust language and GTK3, because bindings can be automatically downloaded in desired version via Cargo (./devel/cargo).
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #5   (View Single Post)  
Old 12th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

If you would like to develop using Qt5, you may find an updated qt-creator port helpful. It's in active development. I tried it several months ago.

If you are interested, it can be found in the openbsd-wip ports repository under devel/qt-creator-qt5.
Reply With Quote
  #6   (View Single Post)  
Old 12th July 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 485
Default

Actually I wanted to write program in statically typed, by default memory safe language (example: C#, Rust) using modern, mainstream GUI libraries (GTK+3, QT4 or QT5). If qt-creator doesn't contain bindings for other languages (if I understand correctly it is designed to aid development in C++) I am more interested in other ways for creating GUI i.e. Rust with GTK+3.
I have written one program with menu using GTK+3/Rust. It doesn't do anything useful yet, but it draws window, responds to clicks on two items inside menu (File->Quit and Help->about). It is a proof-of-concept that it can be usefull.
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #7   (View Single Post)  
Old 12th July 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,301
Default

FYI.

With respect to Mono, the following was posted to ports@ today:

http://marc.info/?t=146835561000001&r=1&w=2

How this will shake out in the (near) future, I do not know.

Last edited by ocicat; 12th July 2016 at 11:52 PM. Reason: Update URL to point to the evolving thread.
Reply With Quote
  #8   (View Single Post)  
Old 13th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,627
Default

Quote:
Originally Posted by e1-531g View Post
...If qt-creator doesn't contain bindings for other languages...
My understanding is that's it's geared for QML/Javascript and C++. I don't know if it has support for any of the other Qt5 bindings.
Reply With Quote
Reply

Tags
c#, gtk3, mono, openbsd, qt

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 5.1 Mono Fonts kpedersen OpenBSD Packages and Ports 5 10th December 2012 03:13 PM
Ten... mono laser printers J65nko News 0 30th October 2011 01:40 AM
Mono development On FreeBSD roddierod Programming 5 8th May 2008 09:13 PM


All times are GMT. The time now is 03:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick