summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/qt_professional.pri
blob: 181ea08fcbf9a4c96d78f4ae0fba6668c82248f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
!xml:contains( DEFINES, TQT_INTERNAL_XML ) {
	CONFIG += xml
	XML_CPP = $$TQT_SOURCE_TREE/src/xml
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		XML_H		= $$WIN_ALL_H
	}
	unix {
		XML_H		= $$XML_CPP
		#needed for svg
		LIBS            += -lm  
	}
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/xml
	include( $$TQT_SOURCE_TREE/src/xml/qt_xml.pri )
	DEFINES     *= TQT_MODULE_XML 
}

!network:contains( DEFINES, TQT_INTERNAL_NETWORK) {
	CONFIG += network
	NETWORK_CPP = $$TQT_SOURCE_TREE/src/network
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		NETWORK_H	= $$WIN_ALL_H
	}
	unix {
		NETWORK_H	= $$NETWORK_CPP
	}
	mac:INCLUDEPATH += $$TQT_SOURCE_TREE/src/3rdparty/dlcompat
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/network
	include( $$TQT_SOURCE_TREE/src/network/qt_network.pri )
	DEFINES     *= TQT_MODULE_NETWORK
}

!workspace:contains( DEFINES, TQT_INTERNAL_WORKSPACE ) {
	CONFIG += workspace
	WORKSPACE_CPP = $$TQT_SOURCE_TREE/src/workspace
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		WORKSPACE_H = $$WIN_ALL_H
	}
	unix {
		WORKSPACE_H = $$WORKSPACE_CPP
	}
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/workspace
	include( $$TQT_SOURCE_TREE/src/workspace/qt_workspace.pri )
	DEFINES     *= TQT_MODULE_WORKSPACE
}

!iconview:contains( DEFINES, TQT_INTERNAL_ICONVIEW ) {
	CONFIG += iconview
	ICONVIEW_CPP = $$TQT_SOURCE_TREE/src/iconview
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		ICONVIEW_H = $$WIN_ALL_H
	}
	unix {
		ICONVIEW_H = $$ICONVIEW_CPP
	}
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/iconview
	include( $$TQT_SOURCE_TREE/src/iconview/qt_iconview.pri )
	DEFINES     *= TQT_MODULE_ICONVIEW
}

!canvas:contains( DEFINES, TQT_INTERNAL_CANVAS ) {
	CONFIG += canvas
	CANVAS_CPP = $$TQT_SOURCE_TREE/src/canvas
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		CANVAS_H = $$WIN_ALL_H
	}
	unix {
		CANVAS_H = $$CANVAS_CPP
	}
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/canvas
	include( $$TQT_SOURCE_TREE/src/canvas/qt_canvas.pri )
	DEFINES     *= TQT_MODULE_CANVAS
}

!table:contains( DEFINES, TQT_INTERNAL_TABLE ) {
	CONFIG += table
	TABLE_CPP = $$TQT_SOURCE_TREE/src/table
	win32 {
		WIN_ALL_H = $$TQT_SOURCE_TREE/include
		TABLE_H = $$WIN_ALL_H
	}
	unix {
		TABLE_H = $$TABLE_CPP
	}
	INCLUDEPATH += $$TQT_SOURCE_TREE/src/table
	include( $$TQT_SOURCE_TREE/src/table/qt_table.pri )
	DEFINES     *= TQT_MODULE_TABLE
}

contains(TQT_PRODUCT,qt-professional) {
	DEFINES     *= TQT_LICENSE_PROFESSIONAL
}