summaryrefslogtreecommitdiffstats
path: root/src/qt_professional.pri
blob: 3f4746d86198317294b7c8745c7153dce36a935f (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
!xml:contains( DEFINES, QT_INTERNAL_XML ) {
	CONFIG += xml
	XML_CPP = $$QT_SOURCE_TREE/src/xml
	win32 {
		WIN_ALL_H = $$QT_SOURCE_TREE/include
		XML_H		= $$WIN_ALL_H
	}
	unix {
		XML_H		= $$XML_CPP
		#needed for svg
		LIBS            += -lm  
	}
	INCLUDEPATH += $$QT_SOURCE_TREE/src/xml
	include( $$QT_SOURCE_TREE/src/xml/qt_xml.pri )
	DEFINES     *= QT_MODULE_XML 
}

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

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

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

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

contains(QT_PRODUCT,qt-professional) {
	DEFINES     *= QT_LICENSE_PROFESSIONAL
}