Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[solved] Beginner and need help :)



  • Hi everyone :)
    I'm a beginner in qt and i'm learning it right now, i'm finding something really hard to understand, the book that i'm leaning from is c++ gui programming with qt-4 (2nd edition) by Practice Hall, i'm okay with everything because i've learned c++ before i jumped to qt.
    the book keeps saying QMake and make files, and didn't gave me a proper understanding of these, I'm using qt creator in Kubuntu everything is working right and fine, but i really want to understand what does these two files mean, and btw i looked in the internet for them and didn't find the answer that i was hoping for.
    thanx for all the help guys :)



  • Hi and welcome to the forums,

    from the qmake manual :

    bq. qmake is a tool that helps simplify the build process for development project across different platforms. qmake automates the generation of Makefiles so that only a few lines of information are needed to create each Makefile. qmake can be used for any software project, whether it is written in Qt or not.

    in easy words qmake helps you te generate makefiles from your source code, which are needed to compile your program



  • ok i see now, Thanx for the help :)
    So makefiles are all gathered in a file called qmake, and makefiles are responsible to compile the program right? i also have seen something like nmake i think, what's the difference between them?



  • Hi, qmake ist the tool (program) that generates the makefile from your project files. For ubuntu you need qmake and make, nmake is the tool for Windows.



  • that clear things up, thanx alot Clochydd and Eddy for the help wish you the best :), and thanx again :)



  • Glad we could be of assistance.

    Please edit your first post and add [solved] to the title



  • Ok thanx alot Eddy :)


Log in to reply