My "configure" creates a config.h



  • 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
    ./configure
    make
    make install

    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.



  • You could try qmake -project

    @
    Mode:
    -project Put qmake into project file generation mode
    In this mode qmake interprets files as files to
    be built,
    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.
    @


  • Moderators

    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:-)



  • Do you want to integrate qmake in a autotools environment, than take look "here":http://qtnode.net/wiki/Qt_with_autotools


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.