Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: A way to create GUI programs for both windows and linux

  1. #1
    Join Date
    Oct 2006
    Beans
    192

    A way to create GUI programs for both windows and linux

    I have been learning C++ for a little while now, and am using to write some calculator and conversion tools for my course-Work at school. However all my school computers run on windows, where all my work stations are Linux.

    Is there a way to create GUI programs that i can compile for both linux and windows, or if there is another way to get past this problem.

    Thanks

  2. #2
    Join Date
    Mar 2005
    Beans
    6,040

    Re: A way to create GUI programs for both windows and linux

    You can use WxWidgets to make the GUI platform independent.
    Previously known as 23meg

  3. #3
    Join Date
    Oct 2006
    Location
    Austin, Texas
    Beans
    2,715

    Re: A way to create GUI programs for both windows and linux

    Ignore the cries of the windows users...

    Or, GTK. I used to use GIMP back before I found a decent OS and it worked fine.

  4. #4
    Join Date
    Mar 2005
    Beans
    6,040

    Re: A way to create GUI programs for both windows and linux

    GTK is cross-platform, but with WxWidgets you eliminate the need to have the GTK runtime environment installed on the target machine.
    Previously known as 23meg

  5. #5
    Join Date
    Oct 2006
    Beans
    192

    Re: A way to create GUI programs for both windows and linux

    Thanks, so with WxWidgets i dont need to have anything installed on my schools machines?

  6. #6
    Join Date
    Mar 2005
    Beans
    6,040

    Re: A way to create GUI programs for both windows and linux

    No; WxWidgets will use the target platform's native widgets.
    Previously known as 23meg

  7. #7
    Join Date
    Nov 2005
    Beans
    593
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Re: A way to create GUI programs for both windows and linux

    Qt too. In short, use any toolkit you like.

  8. #8
    Join Date
    Oct 2006
    Beans
    192

    Re: A way to create GUI programs for both windows and linux

    Thanks everyone

  9. #9
    Join Date
    Jun 2006
    Location
    CT, USA
    Beans
    5,267
    Distro
    Ubuntu 6.10 Edgy

    Re: A way to create GUI programs for both windows and linux

    Quote Originally Posted by Wybiral View Post
    Ignore the cries of the windows users...
    That's eeevil. I like it.

    Explain users that by switching to Ubuntu they avoid Vista Genuine Advantage, save money and have safer box which will not spy on them using latest DRM (Device Rigged to Malfunction) technology. Will not be easy tho.

  10. #10
    Join Date
    Jun 2006
    Location
    Near Toronto Ontario
    Beans
    604
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: A way to create GUI programs for both windows and linux

    Quote Originally Posted by pmasiar View Post
    That's eeevil. I like it.

    Explain users that by switching to Ubuntu they avoid Vista Genuine Advantage, save money and have safer box which will not spy on them using latest DRM (Device Rigged to Malfunction) technology. Will not be easy tho.
    haha i love it

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •