Jump to content
  • Advertisement
Sign in to follow this  
blanky

Cross Platform GUI Library

This topic is 4809 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys, I want to start making cross platform programs. I have a QT book, and I'm really interested, however, I've heard of wxWidgets, and other libraries. I know QT supports OpenGL, and I'm pretty sure wxWidgets does too, which do you guys prefer? Also, can anyone give me a link to the QT libraries, I went to their site but it's weird, there are libraries for both linux and windows, aren't the programs supposed to compile for both however? Or it might be a system thing, so you'd compile with linux libraries for linux, and windows libraries for windows? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
blankdev,

Starting with the last question first, that is what you would do: compile the library for the target, and then build your application around that library for the target platform. Its cross-platform because the source by itself will compile for windows/linux (well, as long as you have a makefile/solution). Now, as far as cross platform gui's, I use FLTK at my work place. Its pretty slim, and getting opengl support involves creating one instance of a class (ie its pretty easy).

I've heard good things about wxWidgets, and I've heard bad things of Qt. I haven't used Qt, so I can't say to much... GTK is another one, but I think its just as complicated like Qt.

Best of luck with it,

-brad

Share this post


Link to post
Share on other sites
Thanks, but I didnt quite understand your build around the compiled library thing, sorry. Yeah I heard bad things about QT too, the source looks very messy, QT to linux as MFC to windows. Anyways, FLTK, that does GUIs right? So you use that instead of wxWidgets and QT? I'll check it out, and it's for both windows and linux right? Thanks.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!