I want to write a C++ program that includes Qt5 code (but also boost library etc.). In order to compile the program I want to use the commands:
./autogen.sh
./configure
make
make install
But I don't know how to compile the Qt5 part of my program. In the tutorials I read there is a command called
qmake
for generating a makefile. But I want to generate the makefile with autotools.
I know that this is possible, because e.g. the Bitcoin Core source code has Qt5 code (for the user interface window) and you don't use qmake for compiling this source code, but autotools.
My question is: How to use autotools for Qt5? A discussion about the pros and cons of autotools vs. qmake is also welcome.