Jump to content

  • Log In with Google      Sign In   
  • Create Account

Creating GUI **Without** Using Microsoft API


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
10 replies to this topic

#1 Shippou   Members   -  Reputation: 1525

Like
0Likes
Like

Posted 13 February 2013 - 04:53 AM

I want to create a custom GUI for my application, that does *NOT* use anything tied to Microsoft ( libraries, redistributables, frame works, e.t.c. ). It's mainly an issue of copyright and compatibility problems.

I have looked on Google for quite some time for the answer, but have found nothing relevant.

Any help on finding this information would be greatly appreciated - thanks.

Edited by Shippou, 13 February 2013 - 04:56 AM.

 Reactions To Technologies:
1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works.
2. Anything that's invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it.
3. Anything invented after you're thirty-five is against the natural order of things.

- Douglas Adams 2002


 


Sponsor:

#2 NightCreature83   Crossbones+   -  Reputation: 2826

Like
4Likes
Like

Posted 13 February 2013 - 05:02 AM

Have a look at QT, which should be open source or wxWidgets these are multiplatform libraries written by third party people. With any application however at some point your are going to have to talk to the underlying OS or runtime (I am excluding most embeded systems here) for displaying things or talking to disc or other things the OS deals with.


Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, Mad Max

#3 Lauris Kaplinski   Members   -  Reputation: 841

Like
1Likes
Like

Posted 13 February 2013 - 05:51 AM

Which programming laguage(s) are you using?

How heavy-duty will this GUI be? Will it just be some forms, lists, buttons or do you need to implement your own specific controls?

Qt is good choice. I personally prefer Gtk+. WxWidgets is also free cross-platform widget set.


Lauris Kaplinski

First technology demo of my game Shinya is out: http://lauris.kaplinski.com/shinya
Khayyam 3D - a freeware poser and scene builder application: http://khayyam.kaplinski.com/

#4 Bregma   Crossbones+   -  Reputation: 5133

Like
8Likes
Like

Posted 13 February 2013 - 06:27 AM

I think you need to clarify your requirements a bit more.

 

If you're looking for a portable cross-platform way to create a GUI so that you can build and run your application on diverse targets, there are many third-party libraries and frameworks that suit that bill and they're easy to find with a simple Google search.

 

If you're concerned about the distribution license conditions of code you need to include to use the library or framework, you would have to consult the licensing of the individual product.  It sounds like you might want to look for BSD or LGPL licenses.  There are many third-party libraries and frameworks that suit that bill and they're easy to find with a simple Google search.You need to understand the license of any code you use and distribute.  Always.

 

If you're concerned about copyright of your code, it's a complicated issue but in most of the world you have no choice, if you write it you have the copyright and if you didn't write it the copyright belongs to the author and you use the code under license.  You need to understand the license of any code you use and distribute.  Always.

 

It isn't really possible to write runnable software that does not use code from the underlying operating system (except for some embedded devices where you're on the bare metal -- generally beyond the scope of these forums -- and even those usually link in runtimes).  You just need to understand the technical and legal issues involved and work with them.  Always.

 

So, what exactly were you looking for?


Stephen M. Webb
Professional Free Software Developer

#5 3Ddreamer   Crossbones+   -  Reputation: 3156

Like
-1Likes
Like

Posted 13 February 2013 - 07:55 AM

Mono/GTK


Personal life and your private thoughts always effect your career. Research is the intellectual backbone of game development and the first order. Version Control is crucial for full management of applications and software.  The better the workflow pipeline, then the greater the potential output for a quality game.  Completing projects is the last but finest order.

 

by Clinton, 3Ddreamer


#6 Servant of the Lord   Crossbones+   -  Reputation: 19564

Like
4Likes
Like

Posted 13 February 2013 - 11:15 AM

I also suggest Qt, with is under LGPL (so it can be used for free, even commercially). It's C++, cross-platform (Windows, Mac, Linux - not yet on Android or iPhone but it's being worked on by the community), uses native widgets (meaning on Windows it looks like a native Windows app, on Mac OSX it looks like a native Mac OSX app, and so on), and can be styled very easily to customize the appearance using a CSS-like language. It has superb documentation, and multiple active and helpful communities around it.

 

If you go the Qt route, I suggest using the QtCreator IDE. It's very good IDE, and has a great wizarding system for application creation (but you aren't required to use it).

 

qt-project.org


It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#7 jwezorek   Crossbones+   -  Reputation: 1863

Like
1Likes
Like

Posted 13 February 2013 - 01:23 PM

I agree with Bregma that the OP needs to be clearer. You can't write a program for Windows that does " *NOT* use anything tied to Microsoft" ... Meaning, even if you develop to Qt using Qt Creator etc. if you build for windows when you run the windows executable CreateWindow(...) is going to get called somewhere, just not by your code. 



#8 Servant of the Lord   Crossbones+   -  Reputation: 19564

Like
1Likes
Like

Posted 13 February 2013 - 02:04 PM

Totally true. Even if you had zero GUI, and were using pure vanilla standard C++, compiled with a non-Microsoft compiler, your program would still (in most cases) be using Microsoft's C++ runtime. smile.png

Even MinGW uses Microsoft's C++ runtime. 

"It's mainly an issue of copyright and compatibility problems."

Microsoft doesn't own your code if you use Win32 - what copyright issues are you referring to?

For compatibility issues, or more specifically, for cross-platform code, I recommend Qt. If you're not talking about cross-platform compatibility, then I agree with the others that more clarity is needed for your question to be answered.


It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#9 LennyLen   Crossbones+   -  Reputation: 3783

Like
1Likes
Like

Posted 14 February 2013 - 06:03 AM

Another pertinent question is are you using any libraries such as Allegro, SFML or SDL as there are GUI addons for those as well that might be easier to integrate with your projects than QT, etc.



#10 DevLiquidKnight   Members   -  Reputation: 834

Like
0Likes
Like

Posted 14 February 2013 - 06:06 PM

Make your own operating system? smile.png



#11 Satharis   Members   -  Reputation: 983

Like
1Likes
Like

Posted 16 February 2013 - 03:45 AM

As has been stated you literally cannot use a GUI without interfacing with Microsoft code somehow. As far as I'm aware you can't actually make a running Window without calling the win32 methods for it -somewhere- and everything that does wraps that at some point.

 

I don't know whether to take the OP as a serious copyright question or someone being pessimistically anti-microsoft or something, I honestly had a bit of a laugh when I initially read that.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS