Results 1 to 3 of 3

Thread: Is it possible to build qmake without Qt?

  1. #1
    Join Date
    Apr 2007
    Posts
    17
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Is it possible to build qmake without Qt?

    I want to use qmake as build tool like cmake.
    There are some reasons why I don't use cmake, so please don't tell me like 'Use CMake'.
    I checked the dependency of qmake with ldd, then I got
    linux-gate.so.1 => (0xb7f3b000)
    libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e20000)
    libm.so.6 => /lib/libm.so.6 (0xb7dfa000)
    libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7ddc000)
    libc.so.6 => /lib/libc.so.6 (0xb7c96000)
    /lib/ld-linux.so.2 (0xb7f3c000)
    So, It looks like qmake doesn't depend on Qt.
    However, I have to build qmake where Qt is not installed, and the default Qt's configure file does not support a option for buiding qmake only.

    So, repeat the title,
    Is it possible to build qmake without Qt?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is it possible to build qmake without Qt?

    If you're using Linux, you can probably install qmake from a separate package. If that's not an option, simply download Qt's sources, run configure and you're done - qmake will be built (without calling "make"). Then it's just a matter of installing it - it needs the binary itself and its mkspecs directory.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Apr 2007
    Posts
    17
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Is it possible to build qmake without Qt?

    Thanks, wysota.
    I've not tested on where actually it is used, it looks like working on my PC.

Similar Threads

  1. Replies: 12
    Last Post: 7th July 2009, 17:32
  2. Mac: Copy Files Build Phase and qmake...
    By kuwan in forum Qt Programming
    Replies: 4
    Last Post: 25th September 2007, 20:59
  3. qmake to build both 32-bit and 64-bit
    By lni in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2006, 19:35
  4. Using qmake to build multiple apps and libs
    By marchand in forum Newbie
    Replies: 2
    Last Post: 12th June 2006, 17:33
  5. QMAKE: Specifying Build Dependencies
    By JohnSuykerbuyk in forum Qt Programming
    Replies: 1
    Last Post: 5th May 2006, 09:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.