Hi All
I have made a GUI using QT Designer on RedHat linux 9. I am using Qt3.1.
Now i want to call some of the functions i have written in the
"filename.ui.h" file,from some C file. I m trying to understand how to
use QtC-0.0.2, but i am not able to compile it.
i give following commands.
1. ./configure
2. make
And it gives following errors.
cd . && autoheader
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.
aclocal.m4:848: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/functions.m4:1277: AM_FUNC_OBSTACK is expanded from...
aclocal.m4:848: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
make: *** [stamp-h.in] Error 1
So how can we call QT code from C source code.
Please help me through.
Thanks & Regards
Rajinder Paul