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.
The sources are in the qt4 demos and you can use the pro file if you like, but here's example of how to use the EXT_ALL target in an mc2.def.
This also applies to makefiles in general, but it's much easier to work through an intermediate system such as mc2.
It is also a great demo for using dialogs, and you can choose native or QT built-in styles for them, which makes a big difference for the file and color selection dialogs.
The large number of files listed in the mc2.def was overloading the parser so Parser (and the string list file and pipe reader) got a heftier buffer.
The file above is a java application. Not a great one but it shows one way mc2 can even generate makefiles for java applications using EXT_ALL as a target and some other tricks.
...
This qtgiac build currently works with the following version of libLQ/mc2 (and also with later builds of the mc2 v. 2x). If you need this to work for sure AND you want to mess with the makefiles, get this version of the libLQ/mc2 as well to make the job a little easier.
If you have mc2, 'mc2 -fetch qt4' for the Makefile, otherwise, do whatever you do to get this rolling.
Here are the files for this demo/test.
file: src/main.cpp
Code:
// generic C++ source template created by new.main
#include <stdio.h> // printf(), FILE*, etc.
#include <malloc.h> // malloc(), free()
#include <string.h> // strcpy(), memcpy(), etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.