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 created a C++ Qt application. I understand that the convention for distributing programs is to have configure script, after which the end-user types 'make' then 'make install'. I'd like to know how to go about creating the configure script (without having to write it myself).
I know that KDevelop can do this, but after importing my Qt project into KDevelop, the autoconf and automake features are removed from the menus.
It would also be good if I knew how to create RPMs too. And ebuilds perhaps? Is there any resource someone can point me to for doing these things?
No, it explains how to write the configure.ac, etc., which is what is used to generate the configure script using autoconf. The configure.ac can be a pretty short depending on what all you need.
There is much you will probably want to learn about the autobuild tools for what you want, and that is a very good place to start. It's either that or take the lazy way out and try to find someone who will do it all for you...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.