~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwtbuild.pri

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2011-06-10 11:22:47 UTC
  • mfrom: (1.1.6 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20110610112247-0i1019vvmzaq6p86
Tags: 6.0.0-1
* New upstream release (Closes: #624107):
  - drop Qt3 support. (Closes: #604379, #626868)
* Register documentation with doc-base. (Closes: #626567)
* Drop patches:
  - 01_makefiles.diff
  - 02_add_missing_warnings.diff
  - 03_qwt_branch_pull_r544.diff
* Add qwt_install_paths.patch to fix the hardcoded installation paths.
* Update debian/control:
  - drop libqt3-mt-dev build dependency.
  - bump Standards-Version to 3.9.2 (no changes).
  - drop Qt3 related packages.
  - due to bump soname (and as we dropper Qt3 support):
    - libqwt5-qt4-dev -> libqwt-dev
    - libqwt5-qt4 -> libqwt6
    - libqwt5-doc -> libqwt-doc
* Update debian/copyright file.
* Update debian/rules: drop Qt3 packages support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################################################################
 
2
# Qwt Widget Library
 
3
# Copyright (C) 1997   Josef Wilgen
 
4
# Copyright (C) 2002   Uwe Rathmann
 
5
#
 
6
# This library is free software; you can redistribute it and/or
 
7
# modify it under the terms of the Qwt License, Version 1.0
 
8
################################################################
 
9
 
 
10
######################################################################
 
11
# qmake internal options
 
12
######################################################################
 
13
 
 
14
CONFIG           += qt     
 
15
CONFIG           += warn_on
 
16
CONFIG           += no_keywords
 
17
CONFIG           += silent
 
18
 
 
19
######################################################################
 
20
# release/debug mode
 
21
######################################################################
 
22
 
 
23
win32 {
 
24
    # On Windows you can't mix release and debug libraries.
 
25
    # The designer is built in release mode. If you like to use it
 
26
    # you need a release version. For your own application development you
 
27
    # might need a debug version. 
 
28
    # Enable debug_and_release + build_all if you want to build both.
 
29
 
 
30
    CONFIG           += debug_and_release
 
31
    CONFIG           += build_all
 
32
}
 
33
else {
 
34
 
 
35
    CONFIG           += release
 
36
 
 
37
    VER_MAJ           = $${QWT_VER_MAJ}
 
38
    VER_MIN           = $${QWT_VER_MIN}
 
39
    VER_PAT           = $${QWT_VER_PAT}
 
40
    VERSION           = $${QWT_VERSION}
 
41
}
 
42
 
 
43
linux-g++ {
 
44
    # CONFIG           += separate_debug_info
 
45
}
 
46
 
 
47
######################################################################
 
48
# paths for building qwt
 
49
######################################################################
 
50
 
 
51
MOC_DIR      = moc
 
52
RCC_DIR      = resources
 
53
!debug_and_release {
 
54
    OBJECTS_DIR       = obj
 
55
}
 
56
 
 
57
unix {
 
58
 
 
59
    exists( $${QMAKE_LIBDIR_QT}/libqwt.* ) {
 
60
 
 
61
        # On some Linux distributions the Qwt libraries are installed 
 
62
        # in the same directory as the Qt libraries. Unfortunately
 
63
        # qmake always adds QMAKE_LIBDIR_QT at the beginning of the 
 
64
        # linker path, so that the installed libraries will be
 
65
        # used instead of the local ones.
 
66
 
 
67
        error( "local build will conflict with $${QMAKE_LIBDIR_QT}/libqwt.*" )
 
68
    }
 
69
}