Changeset 513


Ignore:
Timestamp:
Feb 4, 2010, 1:25:34 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Revert to a static build that doesn't depend on Qt DLLs to simplify the build process (other tools like moc.exe are static too so it makes even less sense to put the dependency on one of them).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/projects.pro

    r413 r513  
    1515       QT_BUILD_PARTS = tools $$QT_BUILD_PARTS
    1616   }
    17    os2:contains(QT_BUILD_PARTS, qmake) {
    18        # non-bootstrapped qmake needs libs so don't put it before
    19        QT_BUILD_PARTS -= qmake
    20        QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS
    21    }
    2217   contains(QT_BUILD_PARTS, libs) {
    2318       QT_BUILD_PARTS -= libs
    2419       QT_BUILD_PARTS = libs $$QT_BUILD_PARTS
    2520   }
    26    !os2:contains(QT_BUILD_PARTS, qmake) {
     21   contains(QT_BUILD_PARTS, qmake) {
    2722       QT_BUILD_PARTS -= qmake
    2823       QT_BUILD_PARTS = qmake $$QT_BUILD_PARTS
     
    4540       contains(QT_BUILD_PARTS, tools):include(translations/translations.pri)
    4641    } else:isEqual(PROJECT, qmake) {
    47        os2:SUBDIRS += qmake
     42       SUBDIRS += qmake
    4843    } else {
    4944       message(Unknown PROJECT: $$PROJECT)
  • TabularUnified trunk/qmake/Makefile.os2-g++

    r406 r513  
    3838endif
    3939
    40 OBJECTS_DIR = release-bootstrap
     40# make sure the output dir matches the one in qmake.pro
     41OBJECTS_DIR = release-shared
    4142
    4243# qmake code
  • TabularUnified trunk/qmake/qmake.pro

    r445 r513  
    44#platform than either of the generic makefiles
    55
    6 os2 {
    7   # using this .pro, we build non-bootstrapped qmake which links to Qt DLLs
    8   CONFIG += console
    9   CONFIG -= uic
    10 } else {
    11   CONFIG += console bootstrap
    12   CONFIG -= qt shared app_bundle uic
    13   DEFINES += QT_BUILD_QMAKE QT_BOOTSTRAPPED
    14   OBJECTS_DIR = .
    15   MOC_DIR = .
    16 }
     6CONFIG += console bootstrap
     7CONFIG -= qt shared app_bundle uic
     8DEFINES += QT_BUILD_QMAKE QT_BOOTSTRAPPED
    179DESTDIR = ../bin/
     10
     11OBJECTS_DIR = .
     12MOC_DIR = .
    1813
    1914#guts
Note: See TracChangeset for help on using the changeset viewer.