[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: using KDE build system for a pure Qt app
From:       Stephan Kulow <coolo () kde ! org>
Date:       2003-03-13 8:08:10
[Download RAW message or body]

Am Mittwoch, 12. März 2003 21:33 schrieb Jos van den Oever:
> Hi,
> 
> I've an application written in Qt which uses qmake. While distributing this 
> program I've heard from people that they have problems compiling and running 
> the program. Therefore, I'm trying to use the autotools as used by KDE in the 
> current CVS.
> 
> So far, I'm not succesful at all. I've tried a lot of things, but automake and 
> autoconf are so obscure. I'm at a point where I can write a configure.in.in 
> for the top dir. This file only says '#MIN_CONFIG'. And I've written a 
> Makefile.am for the src directory which says:
> ------
> bin_PROGRAMS = testautokde
> 
> KDE_OPTIONS = qtonly
> 
> testautokde_SOURCES = testautokde.cpp
> testautokde_LDFLAGS = $(all_libraries)
> testautokde_LDADD = $(LIB_QT)
> 
> AM_CPPFLAGS = $(all_includes)
> 
> METASOURCES = AUTO
> -----
> This system lets me compile files and make a tar.gz, but when I try to 
> configure it on a system with an older KDE and recent Qt, it fails.
> 
> Can I use the KDE build system for writing a Qt app that does not test for KDE 
> when running ./configure?
MIN_CONFIG is the MIN_CONFIG for a KDE application. 
Copy admin/configure.in.min in your configure.in.in and replace AC_PATH_KDE with
AC_PATH_QT

Greetings, Stephan

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic