Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
My "configure" creates a config.h
JoeSchmoe last edited by
Is there a way to mimic a standard ./configure in QT, or import/convert a standard configure file?
Ultimately what I'm trying to do is take a standard linux project where you run
and convert it to QT.
It would be even better if I'm missing something in QT and I could do something like IMPORT->Project and convert a linux project to a QT project.
goetz last edited by
You could try qmake -project
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh; *.hxx; *.H; *.cpp; *.cc; *.cxx; *.C
Note: The created .pro file probably will
need to be edited. For example add the QT variable to
specify what modules are required.
The autotools and qmake based build systems are very different internally. I do not think it is possible to write a tool that automatically converts one to the other (well, maybe qmake->autotools would actually be possible;-).
Why do you want to convert the build system? A build system is just a bit (actually: a lot;-) of infrastructure, it should not really matter which one you use:-)
Scylla last edited by
Do you want to integrate qmake in a autotools environment, than take look "here":http://qtnode.net/wiki/Qt_with_autotools