ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a rpoject to port a configuration utility from Window to run in Linux (SUSE 10.0 is what I am using). I am wondering if someone can share the experience what is the best way to do it to save the time. The complicated part is that this Window tool also relying on a dynamic link library associated. There is GUI part in this applcation also.
When I try to start a new from KDevelop, I saw there is a option C++/QMake project/Simple Win32 Hello World/ prject template. Has anyone try to use this template to build anything? Is this a right track to start with? Or Should I use a better project templatge to start with?
I have seen similar posting on KDevelop. But I really want to find out if any one has use Qt Desiger desiged a GUI and also port other C++ code to integrate into the Qt Project.
Sorry this mihgt be too long. But please share whatever you know.
Distribution: Windows XP, yup :D Will be back onto Ubuntu probably someday
Posts: 107
Rep:
If you know C++, and already have working Windows code, then you shouldn't need a template. What you need to do is identify the parts of the program that aren't supported by Linux (the GUI code will probably need to be redone using some framework such as Qt or whatever - don't know C/C++ and Linux myself, Java's much easier!) and try Google to find tutorials or articles that tell you how to do 'em.
Maybe if you explain more about what the app must do, you'll get better responses than mine. Good luck.
This is going to require some work. I'll assume you are in fact a C++ programmer. If I were you I'd use Qt. Your pretty much going to have to re-write any park of the program that uses GUI or Networking calls. The Networking parts are similar.. but not exactly the same. The GUI calls are totally different.
The major benefit of using Qt is that when you are done porting it you'll be left with a project that will be buildable for both Windows and Linux. I recommend using QT 4 as they have an Open Source Edition of QT for Windows starting with verison 4.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.