[Qt-interest] Ulternative to qmake

Atlant Schmidt aschmidt at dekaresearch.com
Fri Sep 10 19:49:06 CEST 2010


Yogesh:

  I'm late to the party, but I'll note that there's *NOTHING* magical
  about qmake that makes its use mandatory; you can build Qt
  apps using any build system you like. For historical reasons,
  the project I'm currently working on is built using gmake and
  we never use qmake at all.

  Qmake is just a convenient short-cut for a lot of people because
  it's very easy to explain to people that the entire build procedure
  for a Qt project is, from scratch, simply:


 1.  qmake -project
 2.  qmake
 3.  make

  whereas other methods where you create your own makefiles
  require that you be able to, well, *CREATE* your own makefiles.
  But as Daniel observes, if you *HAVE* created your own makefiles,
  then everything is fully transparent and visible; there's no "magic"
  being hidden by qmake (and qmake hides *LOTS* of magic from
  the casual developer).

  Basically, to build a Qt app, you:


 1.  uic any .ui files you have into .h files
 2.  moc any .h files that contain the Q_OBJECT macro into moc_blahblahblah.cpp files
 3.  compile all the .cpp files into .o files
 4.  link the resulting .o files (and .a/.so libraries) into your target object

  For simple projects, steps 3 and 4 are combined.

                                Atlant


________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of yogesh upreti
Sent: Friday, September 10, 2010 03:09
To: qt-interest at trolltech.com
Subject: [Qt-interest] Ulternative to qmake

Hallo group,
What are the other way to compile my project then qmake?
qmake is not working in my laptop anymore, whenever I start it hangs and nothing happens.
Is there another way to build a project?

Regards,
Yogesh Upreti


Click here<https://www.mailcontrol.com/sr/RW0rvH3oMPfTndxI!oX7Ulvwl1GqFAPr8Spc!+2sWNutWa4v9t3R7OzGfTfFy4GV5CtN22G6Q+z63Umxp4EWgA==> to report this email as spam.

________________________________
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100910/9682e7a7/attachment.html 


More information about the Qt-interest-old mailing list