mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 15:38:15 +08:00
Compare commits
604 Commits
qt-v5.0.0-
...
5.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3f2ff8b460 | ||
|
|
0d60d720f8 | ||
|
|
00defc7101 | ||
|
|
4a5968ce75 | ||
|
|
843a3407f2 | ||
|
|
5400507252 | ||
|
|
210493d641 | ||
|
|
670466b6a3 | ||
|
|
07856d73e1 | ||
|
|
dfffbfdc26 | ||
|
|
b62714f88c | ||
|
|
24f1b3219d | ||
|
|
f7cb995d04 | ||
|
|
11963ba9f0 | ||
|
|
39ce0228da | ||
|
|
95bb29e243 | ||
|
|
68b5c48282 | ||
|
|
451f0a193b | ||
|
|
59e3021a52 | ||
|
|
ac6168c0cb | ||
|
|
e3cd5bb368 | ||
|
|
be35b9f9af | ||
|
|
0badf61792 | ||
|
|
98737b388b | ||
|
|
9fb1a2e12f | ||
|
|
b71478c424 | ||
|
|
dc93c0d4d7 | ||
|
|
34c7caab3f | ||
|
|
9ebad7830d | ||
|
|
1ad0a17fa0 | ||
|
|
d553fc4fa9 | ||
|
|
b236ef6aef | ||
|
|
81efb6de3c | ||
|
|
ef1f126ddc | ||
|
|
c3a6185b7e | ||
|
|
0163cb617a | ||
|
|
9ca0c52513 | ||
|
|
3439140073 | ||
|
|
1998742cea | ||
|
|
a68a6b964f | ||
|
|
663f814c24 | ||
|
|
b1885ea725 | ||
|
|
6040cb2ff5 | ||
|
|
338ee26271 | ||
|
|
77f387bc89 | ||
|
|
968f8a2a5e | ||
|
|
7c0bc23056 | ||
|
|
4b19950128 | ||
|
|
96d903eec0 | ||
|
|
38cfc8ec95 | ||
|
|
402bf7aec2 | ||
|
|
8f35cb2886 | ||
|
|
d5946d420f | ||
|
|
e8053418e4 | ||
|
|
cafd720586 | ||
|
|
201b4c135a | ||
|
|
00a3c36bc1 | ||
|
|
ca7018cd4f | ||
|
|
00e3f00b79 | ||
|
|
a87766e218 | ||
|
|
b54838f4a5 | ||
|
|
18cc387deb | ||
|
|
86f7d9ce98 | ||
|
|
cd12d1f202 | ||
|
|
3f0739b279 | ||
|
|
d8a40d6570 | ||
|
|
2f80b640ab | ||
|
|
b927255703 | ||
|
|
361f771ae6 | ||
|
|
d063e757b1 | ||
|
|
e6af514f71 | ||
|
|
597bb62d2b | ||
|
|
0af9ceef91 | ||
|
|
934651b766 | ||
|
|
836f00a76e | ||
|
|
6ab23f16f5 | ||
|
|
485f5f3776 | ||
|
|
4553d9ec11 | ||
|
|
3ade7c4567 | ||
|
|
93f173b3c5 | ||
|
|
b2e577904b | ||
|
|
919c0332ff | ||
|
|
1e275c54ea | ||
|
|
1ae0689829 | ||
|
|
5fdb4490cb | ||
|
|
74d7cf7e42 | ||
|
|
f16e291eea | ||
|
|
aa47c338f8 | ||
|
|
2159de889d | ||
|
|
fefebb996c | ||
|
|
59c32b2db8 | ||
|
|
22e5c8ce25 | ||
|
|
2c3556629b | ||
|
|
64b0e38032 | ||
|
|
be6de20889 | ||
|
|
633051d095 | ||
|
|
ce45f45dfb | ||
|
|
8801fd0258 | ||
|
|
48cd6bb500 | ||
|
|
ed9a5c8a62 | ||
|
|
9677483cdc | ||
|
|
e073b25926 | ||
|
|
6ccb1f47aa | ||
|
|
091f46c34c | ||
|
|
f81391639e | ||
|
|
ffab81d96a | ||
|
|
892e391cb0 | ||
|
|
7368b4b1e3 | ||
|
|
f4479c349b | ||
|
|
620dc10e25 | ||
|
|
3fb8e1301a | ||
|
|
64f379141c | ||
|
|
c9eb01ba38 | ||
|
|
25acd00fed | ||
|
|
055e282245 | ||
|
|
afd8acb9dc | ||
|
|
56a5eee34a | ||
|
|
9b93bd0fa9 | ||
|
|
2c0f1cfb71 | ||
|
|
60f5070d97 | ||
|
|
2c06e806a2 | ||
|
|
4fadcf5d88 | ||
|
|
fb66951776 | ||
|
|
55e55c405f | ||
|
|
982ee75828 | ||
|
|
06d2b3a720 | ||
|
|
67400663f8 | ||
|
|
b065abc7fd | ||
|
|
e045c53198 | ||
|
|
6d47ef2b92 | ||
|
|
74af16bd0d | ||
|
|
556a3377ff | ||
|
|
8ce1937883 | ||
|
|
e198c124d3 | ||
|
|
7704ce065d | ||
|
|
592415857c | ||
|
|
e169f588d8 | ||
|
|
6380ce86f1 | ||
|
|
9372697001 | ||
|
|
ed6175da93 | ||
|
|
63200543dd | ||
|
|
4e92039103 | ||
|
|
0a23321599 | ||
|
|
6b22ad702d | ||
|
|
a3152cb8f1 | ||
|
|
dc199e37d5 | ||
|
|
a7dc6fd595 | ||
|
|
fe236cc44c | ||
|
|
b2385231c4 | ||
|
|
7befa70253 | ||
|
|
805c735b02 | ||
|
|
ae9c68d190 | ||
|
|
ef51fe0ebb | ||
|
|
3b525e1235 | ||
|
|
76e16b228e | ||
|
|
604f330cd2 | ||
|
|
b25883ebaa | ||
|
|
a968d5d531 | ||
|
|
5fd794ca6d | ||
|
|
4b256e249b | ||
|
|
f37564a749 | ||
|
|
c8d3a71d7c | ||
|
|
402457bcfb | ||
|
|
baac9b5129 | ||
|
|
06d0fa240f | ||
|
|
a250914fec | ||
|
|
f7b7ff4f9f | ||
|
|
ec0c8697aa | ||
|
|
dbac1e77f7 | ||
|
|
7c73e564bd | ||
|
|
749bc264b2 | ||
|
|
234dcbfcba | ||
|
|
b742f171c9 | ||
|
|
babbfd7ae3 | ||
|
|
cf08b0d109 | ||
|
|
5987a236d0 | ||
|
|
08e6aa58fb | ||
|
|
8b4022260b | ||
|
|
758d922716 | ||
|
|
c116096065 | ||
|
|
7e2e8cad66 | ||
|
|
4c925babf9 | ||
|
|
cb2d850b47 | ||
|
|
d000023376 | ||
|
|
38b7c75f6b | ||
|
|
1aa3ccbc4c | ||
|
|
f9a5d19416 | ||
|
|
728cd2e173 | ||
|
|
f09783bb80 | ||
|
|
bc6bcaa323 | ||
|
|
7f523a7aa3 | ||
|
|
bf0bfeb991 | ||
|
|
e937791dcb | ||
|
|
0d22f2d30d | ||
|
|
f3636c9757 | ||
|
|
2f20faa052 | ||
|
|
433e143b23 | ||
|
|
acd97fec50 | ||
|
|
2bcd8e1a9f | ||
|
|
23101c9dd5 | ||
|
|
e39f4e8b4b | ||
|
|
270009dfde | ||
|
|
f3ee66d9b2 | ||
|
|
3840892d83 | ||
|
|
4072c25a70 | ||
|
|
ea9702923e | ||
|
|
96bd21c4c4 | ||
|
|
70c2051332 | ||
|
|
85d30ddaa3 | ||
|
|
770893c71b | ||
|
|
c0594e303e | ||
|
|
6ca2fbea87 | ||
|
|
33b6b2677e | ||
|
|
b6faaac713 | ||
|
|
941dd92e5b | ||
|
|
824cfe84a8 | ||
|
|
e8816c8ef4 | ||
|
|
fb2020a44f | ||
|
|
e3de6338ce | ||
|
|
2ede7f403a | ||
|
|
ad241de71b | ||
|
|
dd9853b3cb | ||
|
|
a145dba334 | ||
|
|
94eef4e5f7 | ||
|
|
35fe76d9c3 | ||
|
|
51c0a11ff3 | ||
|
|
d06469a626 | ||
|
|
292fa5832f | ||
|
|
23c300afd1 | ||
|
|
6d1d35416f | ||
|
|
f5e182de18 | ||
|
|
6493c3d813 | ||
|
|
7b8a659ecc | ||
|
|
0927a9a0f8 | ||
|
|
c3532a18c9 | ||
|
|
c57a761615 | ||
|
|
f350c3bb51 | ||
|
|
33aa233ae4 | ||
|
|
8c4e0a4a95 | ||
|
|
a289ec8a03 | ||
|
|
0b24bc3851 | ||
|
|
6a0f795172 | ||
|
|
e16cdebb77 | ||
|
|
8e11fdb939 | ||
|
|
ef8000991e | ||
|
|
9b68559f3c | ||
|
|
20ecf7efa5 | ||
|
|
5ae49dac5a | ||
|
|
0e9f726baf | ||
|
|
d060acfac5 | ||
|
|
f3d6fe82ab | ||
|
|
76e3f3d2a6 | ||
|
|
16e4fb6c98 | ||
|
|
a3dd3624f9 | ||
|
|
e9b62c8c69 | ||
|
|
66b6d8fc7d | ||
|
|
df0a7fd6dc | ||
|
|
8732a4c5cd | ||
|
|
7124fb036a | ||
|
|
6670595185 | ||
|
|
28460e497c | ||
|
|
89e3b0deae | ||
|
|
8c2518eea4 | ||
|
|
23a639d4cc | ||
|
|
6a60f386b8 | ||
|
|
375328584b | ||
|
|
7661124ff1 | ||
|
|
f828e05a91 | ||
|
|
35350e9779 | ||
|
|
80d90b4862 | ||
|
|
511255ebfd | ||
|
|
111d8165f6 | ||
|
|
188bb452fd | ||
|
|
3918311aeb | ||
|
|
6a19225d75 | ||
|
|
f1d7bdd444 | ||
|
|
7d1e12cc1e | ||
|
|
cfdf021c18 | ||
|
|
641bab7bde | ||
|
|
3a770f5d45 | ||
|
|
0490066027 | ||
|
|
a11c7ef670 | ||
|
|
3b9d57e413 | ||
|
|
ecd64f626d | ||
|
|
f62ba0352b | ||
|
|
ad91faa3bd | ||
|
|
c28bacd49f | ||
|
|
a0267228f9 | ||
|
|
90ca6825c4 | ||
|
|
3a55bb51ac | ||
|
|
4fcad903b1 | ||
|
|
7627c87948 | ||
|
|
f9fc16a5b4 | ||
|
|
fbd69b7602 | ||
|
|
7e979b67af | ||
|
|
47fb446cbe | ||
|
|
da69011610 | ||
|
|
eafc5686a6 | ||
|
|
7473ab6b3c | ||
|
|
123cf8b2cb | ||
|
|
bbc5dca735 | ||
|
|
bb9e60870c | ||
|
|
cbe70b9b60 | ||
|
|
f89dd01d19 | ||
|
|
3814e96edd | ||
|
|
292a7a7430 | ||
|
|
38dc5b49f6 | ||
|
|
45b8f5c7fc | ||
|
|
e78aad71e6 | ||
|
|
bbb720486f | ||
|
|
33072afc58 | ||
|
|
730e330068 | ||
|
|
b25fcb31a7 | ||
|
|
18aaac1806 | ||
|
|
09c3d8537e | ||
|
|
7b034fec34 | ||
|
|
cfbfb61233 | ||
|
|
6d08e322c7 | ||
|
|
fced9b8199 | ||
|
|
8e64df0756 | ||
|
|
ec1a2c1557 | ||
|
|
3f9837797d | ||
|
|
3e26038d5c | ||
|
|
80c8ed3c21 | ||
|
|
f618a97229 | ||
|
|
66ed87fc67 | ||
|
|
ec783bb21e | ||
|
|
696ab3466b | ||
|
|
2f8a096c9c | ||
|
|
231887b543 | ||
|
|
b47a94b9fb | ||
|
|
3a3420b02e | ||
|
|
5c752f164a | ||
|
|
b99b4bc070 | ||
|
|
ce407c1283 | ||
|
|
d3d46ac7b3 | ||
|
|
2ef82978ca | ||
|
|
08ec2c7a62 | ||
|
|
aeed8ce504 | ||
|
|
0089431326 | ||
|
|
8b6ae1cdd9 | ||
|
|
ff63f0f3dc | ||
|
|
cd769b2d31 | ||
|
|
585c525fd1 | ||
|
|
b3ef11f427 | ||
|
|
347949e258 | ||
|
|
79193d2b4d | ||
|
|
6623ffc4ec | ||
|
|
2f43917c1d | ||
|
|
6207f23126 | ||
|
|
371d08eb4a | ||
|
|
3d960ec9a9 | ||
|
|
6ff7fbc685 | ||
|
|
319b198bbf | ||
|
|
713cc7fcc2 | ||
|
|
3f1cc2e938 | ||
|
|
a0270c3393 | ||
|
|
d7ca18632a | ||
|
|
afb0caec76 | ||
|
|
9e7460525d | ||
|
|
7514c6e0f6 | ||
|
|
c639fec072 | ||
|
|
d2b2b92d49 | ||
|
|
0381f7bd54 | ||
|
|
a2d9fb7323 | ||
|
|
56d9eaba8f | ||
|
|
1652b1e10a | ||
|
|
79f9d60b77 | ||
|
|
ba4baee789 | ||
|
|
901fd28fd8 | ||
|
|
fd3ee8634a | ||
|
|
56e6962ad7 | ||
|
|
e653efe17d | ||
|
|
f0efc5c5cc | ||
|
|
238c0f5ce0 | ||
|
|
8d77ff1ef2 | ||
|
|
495c7a13f7 | ||
|
|
f67e9c6bf2 | ||
|
|
039f8c8555 | ||
|
|
8cb6c9373f | ||
|
|
c409a85bb8 | ||
|
|
5e8c47946a | ||
|
|
c18c2a76ef | ||
|
|
a41ce6cb4f | ||
|
|
97d477d4ff | ||
|
|
af96eba3e7 | ||
|
|
bf8311f879 | ||
|
|
9eefa9fb9a | ||
|
|
471842d8f4 | ||
|
|
b335981ca0 | ||
|
|
24031b2120 | ||
|
|
b1c03b4497 | ||
|
|
a9e3e72b2e | ||
|
|
b9f3ea418a | ||
|
|
766ed50650 | ||
|
|
0f16101977 | ||
|
|
db59699011 | ||
|
|
b9b8db0745 | ||
|
|
2ad41f3ba7 | ||
|
|
371ae019fc | ||
|
|
cb530cbe80 | ||
|
|
8dfa5d43e1 | ||
|
|
4ec68bcba5 | ||
|
|
7319eb06fd | ||
|
|
e605d1675e | ||
|
|
7a9722d3ab | ||
|
|
76d59a3fa4 | ||
|
|
a6254526d8 | ||
|
|
01b8ffb28f | ||
|
|
2b92b3ea1f | ||
|
|
0125076d12 | ||
|
|
41c3f2cb5f | ||
|
|
a1f4d9db15 | ||
|
|
71c071399a | ||
|
|
c72a240108 | ||
|
|
c0772fa7a5 | ||
|
|
98a605eb6b | ||
|
|
f81bf2b5ee | ||
|
|
0e1169ca2d | ||
|
|
0e169c8e8b | ||
|
|
34f1dbc74a | ||
|
|
21f9eaf60e | ||
|
|
da8730bf21 | ||
|
|
749b83f337 | ||
|
|
508072fb03 | ||
|
|
cd3a4676c8 | ||
|
|
008fb07a0f | ||
|
|
d3a55bf0aa | ||
|
|
600b295f2c | ||
|
|
58acd59fa6 | ||
|
|
8f9fcfdcb5 | ||
|
|
e4d841490b | ||
|
|
a2d6af491e | ||
|
|
4e87fe89ce | ||
|
|
4865835418 | ||
|
|
58178a8a0e | ||
|
|
bf4c64ada0 | ||
|
|
6ccb808ef6 | ||
|
|
c0626490d1 | ||
|
|
be16d21a80 | ||
|
|
0e1c9d3724 | ||
|
|
aa7ff01d60 | ||
|
|
837c3e68a0 | ||
|
|
23701ec556 | ||
|
|
138fb6e22e | ||
|
|
8fbf48fd93 | ||
|
|
2e1a8b49f4 | ||
|
|
c4c9ca640a | ||
|
|
5de69ba432 | ||
|
|
c1a3e0c2f2 | ||
|
|
34cf394226 | ||
|
|
10d5a02dcd | ||
|
|
c83a5d49a3 | ||
|
|
9b19587959 | ||
|
|
34904ca89d | ||
|
|
0b501b19de | ||
|
|
36e84c61a1 | ||
|
|
bd1716005a | ||
|
|
5fc7879313 | ||
|
|
3913643642 | ||
|
|
ed65966d5d | ||
|
|
877cec0228 | ||
|
|
f4f66ff107 | ||
|
|
725a51b1d8 | ||
|
|
f00429b71a | ||
|
|
5a109341ca | ||
|
|
016d5d856f | ||
|
|
d20cb51b5d | ||
|
|
93dbfad341 | ||
|
|
c0036e77b2 | ||
|
|
3ad7be1929 | ||
|
|
ec77419ac8 | ||
|
|
1fdd777ae9 | ||
|
|
002f18fd52 | ||
|
|
2a5067e6cc | ||
|
|
9867c4af7b | ||
|
|
25ca35fc58 | ||
|
|
4541cd9f60 | ||
|
|
5d79b1f86d | ||
|
|
1117d4da2c | ||
|
|
263f260d58 | ||
|
|
05561273d5 | ||
|
|
742353c43c | ||
|
|
f7f4b927e8 | ||
|
|
5fb5e0dfc7 | ||
|
|
898848326a | ||
|
|
ec904560e7 | ||
|
|
65079e2706 | ||
|
|
654fcc335c | ||
|
|
e19caf122b | ||
|
|
2b4b350459 | ||
|
|
d5fe783fda | ||
|
|
c9fd867234 | ||
|
|
34f300fd4b | ||
|
|
1e7d6ecc9d | ||
|
|
bb7e88b0fb | ||
|
|
f3e608ac59 | ||
|
|
b8aa817f80 | ||
|
|
1d63be4b88 | ||
|
|
107515b047 | ||
|
|
fe4e459e44 | ||
|
|
15426edcf0 | ||
|
|
30214b8ee2 | ||
|
|
9e7d0c7a0d | ||
|
|
af77a620f7 | ||
|
|
7e062e5d1a | ||
|
|
ec8eecbaf8 | ||
|
|
c6db6da949 | ||
|
|
16ac53f263 | ||
|
|
a6f6e65088 | ||
|
|
c5ceab9842 | ||
|
|
a5eb50d59c | ||
|
|
c6fba546d1 | ||
|
|
b18a0dcff0 | ||
|
|
758fc0b6db | ||
|
|
c1e727e30d | ||
|
|
5ac094341e | ||
|
|
6e0b3836f3 | ||
|
|
677c8c5b68 | ||
|
|
ce9400d52d | ||
|
|
94e7f7bcb9 | ||
|
|
1317419aa2 | ||
|
|
7c0959338e | ||
|
|
cf26eb0812 | ||
|
|
ac8b26c0b2 | ||
|
|
222a346249 | ||
|
|
78b8403e41 | ||
|
|
5f8a034a48 | ||
|
|
ed97a0d3b9 | ||
|
|
93310ed069 | ||
|
|
fd18c7da23 | ||
|
|
008a5daf77 | ||
|
|
c9ac88fec8 | ||
|
|
40f8c17b0f | ||
|
|
2bd9baf519 | ||
|
|
3f0b6f886b | ||
|
|
5c14da5a7b | ||
|
|
fa716b77c1 | ||
|
|
530f63916b | ||
|
|
03000b0a8a | ||
|
|
97ef09db37 | ||
|
|
c52bc09b9a | ||
|
|
28a3353168 | ||
|
|
5df103be25 | ||
|
|
316b2b51e3 | ||
|
|
3578d99ff1 | ||
|
|
d412547ef3 | ||
|
|
2ac6eb7166 | ||
|
|
6a99d4b30d | ||
|
|
67a552a66f | ||
|
|
8c37b00fbd | ||
|
|
9985003ac4 | ||
|
|
0c57b507f3 | ||
|
|
3c804ae3da | ||
|
|
c6b525dafe | ||
|
|
30d3e45495 | ||
|
|
4b497e1de4 | ||
|
|
f1409e7b02 | ||
|
|
47e8da3a17 | ||
|
|
ae16a14cf8 | ||
|
|
df4acd4b44 | ||
|
|
5146b9449d | ||
|
|
f40f4bb6d7 | ||
|
|
432843fa50 | ||
|
|
e51fa873ca | ||
|
|
a4e416b1f4 | ||
|
|
0ab8650f7b | ||
|
|
b77d8a94b6 | ||
|
|
09a7cd16d9 | ||
|
|
10cd81046c | ||
|
|
88442f81ed | ||
|
|
1968c54d4f | ||
|
|
6d70a4f5cb | ||
|
|
9894009117 | ||
|
|
dbf53d1ffb | ||
|
|
8ddc280393 | ||
|
|
9fa0f5ddf4 | ||
|
|
9be91b36b5 | ||
|
|
e400f9d6a6 | ||
|
|
3dffd4e710 | ||
|
|
1e103533a0 | ||
|
|
c2543dc358 | ||
|
|
6562d7b44d | ||
|
|
ee405a2fc2 | ||
|
|
2ff258da4c | ||
|
|
d71eac3df2 | ||
|
|
3ffb06482d | ||
|
|
b56dc98fee | ||
|
|
63124a31c7 | ||
|
|
ba669e8f03 | ||
|
|
326ac549a1 | ||
|
|
3d84b25eb5 | ||
|
|
84dac570b9 | ||
|
|
51ca55ff29 | ||
|
|
1de59c1a07 | ||
|
|
6ab6bd8ff7 | ||
|
|
e4ed3288e9 | ||
|
|
72f4597c9d | ||
|
|
f1a52c15fa | ||
|
|
38adcf8077 | ||
|
|
feb89e2305 | ||
|
|
8660603bb6 | ||
|
|
74f7b7f74c | ||
|
|
15f3399576 |
@@ -4,15 +4,27 @@
|
||||
# ==[ Details: Describe what changed and explain why it changed ]======|
|
||||
|
||||
|
||||
# Change log entry (see below for instructions).
|
||||
#[ChangeLog][][]
|
||||
|
||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||
#
|
||||
# One task per entry. Remember space after colon.
|
||||
#Task-number:
|
||||
#
|
||||
# Solicit reviewers. They still need to use the Gerrit frontend.
|
||||
#Reviewed-by:
|
||||
|
||||
# ==[ Please wrap at 72 characters ]===================================|
|
||||
#
|
||||
# Remember to read http://wiki.qt-project.org/Commit_Policy
|
||||
# Remember to read http://wiki.qt.io/Commit_Policy
|
||||
#
|
||||
# Change log entry: If this commit adds a significant feature, fixes an
|
||||
# issue or contains a behavior change that is relevant to others,
|
||||
# add a change log entry. It can be multiple lines long and ends with an
|
||||
# empty newline. Try to integrate it into the flow of the commit message
|
||||
# to avoid redundancy.
|
||||
# Use the module name to indicate the area of the change e.g. [QtCore].
|
||||
# Optionally specify a class or subtopic [QtNetwork][QSslSocket].
|
||||
# Other common tags are: [General], [Important Behavior Changes],
|
||||
# [Platform Specific Changes][Windows][OS X][Linux/XCB].
|
||||
#
|
||||
# [ChangeLog][module][class/topic] description of the really important
|
||||
# change that was just made on several lines.
|
||||
|
||||
7
.gitattributes
vendored
Normal file
7
.gitattributes
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
.tag export-subst
|
||||
.gitignore export-ignore
|
||||
.gitattributes export-ignore
|
||||
.gitmodules export-ignore
|
||||
.commit-template export-ignore
|
||||
init-repository export-ignore
|
||||
README.git export-ignore
|
||||
260
.gitignore
vendored
260
.gitignore
vendored
@@ -1,259 +1,3 @@
|
||||
# This file is used to ignore files which are generated in the Qt build system
|
||||
# ----------------------------------------------------------------------------
|
||||
|
||||
examples/*/*/*
|
||||
!examples/*/*/*[.]*
|
||||
!examples/*/*/README
|
||||
examples/*/*/*[.]app
|
||||
!examples/declarative/*
|
||||
!examples/tutorials/*
|
||||
!examples/tutorials/*/*
|
||||
!examples/ja_JP/*/*
|
||||
demos/*/*
|
||||
!demos/spectrum/*
|
||||
demos/spectrum/bin
|
||||
!demos/*/*[.]*
|
||||
demos/*/*[.]app
|
||||
!demos/declarative/*
|
||||
config.tests/*/*/*
|
||||
!config.tests/*/*/*[.]*
|
||||
config.tests/*/*/*[.]app
|
||||
|
||||
callgrind.out.*
|
||||
pcviewer.cfg
|
||||
*~
|
||||
*.a
|
||||
*.la
|
||||
*.core
|
||||
*.moc
|
||||
*.o
|
||||
*.obj
|
||||
*.orig
|
||||
*.swp
|
||||
*.rej
|
||||
*.so
|
||||
*.pbxuser
|
||||
*.mode1
|
||||
*.mode1v3
|
||||
*_pch.h.cpp
|
||||
*_resource.rc
|
||||
.#*
|
||||
*.*#
|
||||
core
|
||||
Makefile
|
||||
.qmake.cache
|
||||
.qmake.vars
|
||||
*.prl
|
||||
tags
|
||||
.DS_Store
|
||||
*.debug
|
||||
Makefile*
|
||||
!qmake/Makefile.win32*
|
||||
!qmake/Makefile.unix
|
||||
*.prl
|
||||
*.app
|
||||
*.pro.user
|
||||
*.qmlproject.user
|
||||
*.gcov
|
||||
bin/Qt*.dll
|
||||
bin/assistant*
|
||||
bin/designer*
|
||||
bin/dumpcpp*
|
||||
bin/idc*
|
||||
bin/linguist*
|
||||
bin/lrelease*
|
||||
bin/lupdate*
|
||||
bin/lconvert*
|
||||
bin/moc*
|
||||
bin/makeqpf*
|
||||
bin/pixeltool*
|
||||
bin/qmake*
|
||||
bin/qdoc3*
|
||||
bin/qt3to4*
|
||||
bin/qtdemo*
|
||||
bin/qttracereplay*
|
||||
bin/rcc*
|
||||
bin/uic*
|
||||
bin/patternist*
|
||||
bin/phonon*
|
||||
bin/qcollectiongenerator*
|
||||
bin/qdbus*
|
||||
bin/qhelpconverter*
|
||||
bin/qhelpgenerator*
|
||||
bin/qtconfig*
|
||||
bin/xmlpatterns*
|
||||
bin/cetest*
|
||||
bin/collectiongenerator
|
||||
bin/helpconverter
|
||||
bin/helpgenerator
|
||||
bin/kmap2qmap*
|
||||
bin/qlalr*
|
||||
bin/qmlconv*
|
||||
bin/qmldebugger*
|
||||
bin/qml*
|
||||
bin/qttracereplay*
|
||||
configure.cache
|
||||
config.status
|
||||
mkspecs/default
|
||||
mkspecs/qconfig.pri
|
||||
moc_*.cpp
|
||||
qmake/qmake.exe
|
||||
qmake/Makefile.bak
|
||||
src/corelib/global/qconfig.cpp
|
||||
src/corelib/global/qconfig.h
|
||||
src/corelib/global/qconfig.h.qmake
|
||||
ui_*.h
|
||||
tests/auto/qprocess/test*/*.exe
|
||||
tests/auto/qtcpsocket/stressTest/*.exe
|
||||
tests/auto/qprocess/fileWriterProcess/*.exe
|
||||
tests/auto/qmake/testdata/quotedfilenames/*.exe
|
||||
tests/auto/compilerwarnings/*.exe
|
||||
tests/auto/qmake/testdata/quotedfilenames/test.cpp
|
||||
tests/auto/qprocess/fileWriterProcess.txt
|
||||
.com.apple.timemachine.supported
|
||||
tests/auto/qlibrary/libmylib.so*
|
||||
tests/auto/qresourceengine/runtime_resource.rcc
|
||||
tools/activeqt/testcon/testcon.tlb
|
||||
translations/*.qm
|
||||
translations/*_untranslated.ts
|
||||
qrc_*.cpp
|
||||
|
||||
# Test generated files
|
||||
QObject.log
|
||||
tst_*
|
||||
!tst_*.*
|
||||
tst_*.log
|
||||
tst_*.debug
|
||||
tst_*~
|
||||
|
||||
# xemacs temporary files
|
||||
*.flc
|
||||
|
||||
# Vim temporary files
|
||||
.*.swp
|
||||
|
||||
# Visual Studio generated files
|
||||
*.ib_pdb_index
|
||||
*.idb
|
||||
*.ilk
|
||||
*.pdb
|
||||
*.sln
|
||||
*.suo
|
||||
*.vcproj
|
||||
*vcproj.*.*.user
|
||||
*.ncb
|
||||
*.vcxproj
|
||||
*.vcxproj.filters
|
||||
*.vcxproj.user
|
||||
|
||||
# MinGW generated files
|
||||
*.Debug
|
||||
*.Release
|
||||
|
||||
# WebKit temp files
|
||||
src/3rdparty/webkit/WebCore/mocinclude.tmp
|
||||
src/3rdparty/webkit/includes.txt
|
||||
src/3rdparty/webkit/includes2.txt
|
||||
|
||||
# Symlinks generated by configure
|
||||
tools/qvfb/qvfbhdr.h
|
||||
tools/qvfb/qlock_p.h
|
||||
tools/qvfb/qlock.cpp
|
||||
tools/qvfb/qwssignalhandler.cpp
|
||||
tools/qvfb/qwssignalhandler_p.h
|
||||
.DS_Store
|
||||
.pch
|
||||
.rcc
|
||||
*.app
|
||||
config.status
|
||||
config.tests/unix/cups/cups
|
||||
config.tests/unix/getaddrinfo/getaddrinfo
|
||||
config.tests/unix/getifaddrs/getifaddrs
|
||||
config.tests/unix/iconv/iconv
|
||||
config.tests/unix/ipv6/ipv6
|
||||
config.tests/unix/ipv6ifname/ipv6ifname
|
||||
config.tests/unix/largefile/largefile
|
||||
config.tests/unix/nis/nis
|
||||
config.tests/unix/odbc/odbc
|
||||
config.tests/unix/openssl/openssl
|
||||
config.tests/unix/stl/stl
|
||||
config.tests/unix/zlib/zlib
|
||||
config.tests/unix/3dnow/3dnow
|
||||
config.tests/unix/mmx/mmx
|
||||
config.tests/unix/sse/sse
|
||||
config.tests/unix/sse2/sse2
|
||||
|
||||
|
||||
|
||||
# Directories to ignore
|
||||
# ---------------------
|
||||
|
||||
debug
|
||||
examples/tools/plugandpaint/plugins
|
||||
include/*
|
||||
include/*/*
|
||||
lib/*
|
||||
!lib/fonts
|
||||
!lib/README
|
||||
plugins/*/*
|
||||
release
|
||||
tmp
|
||||
doc-build
|
||||
doc/html/*
|
||||
doc/qch
|
||||
doc-build
|
||||
.rcc
|
||||
.pch
|
||||
.metadata
|
||||
|
||||
# Symbian build system generated files
|
||||
# ---------------------
|
||||
|
||||
ABLD.BAT
|
||||
bld.inf*
|
||||
*.mmp
|
||||
*.mk
|
||||
*.rss
|
||||
*.loc
|
||||
!s60main.rss
|
||||
*.pkg
|
||||
plugin_commonu.def
|
||||
*.qtplugin
|
||||
*.sis
|
||||
*.sisx
|
||||
*.lst
|
||||
*.exe
|
||||
*.mif
|
||||
*.rsc
|
||||
*.sym
|
||||
*.lib
|
||||
|
||||
# runonphone crash dumps
|
||||
d_exc_*.txt
|
||||
d_exc_*.stk
|
||||
|
||||
# Generated by abldfast.bat from devtools.
|
||||
.abldsteps.*
|
||||
|
||||
# Carbide project files
|
||||
# ---------------------
|
||||
.project
|
||||
.cproject
|
||||
.make.cache
|
||||
*.d
|
||||
|
||||
qtc-debugging-helper
|
||||
src/corelib/lib
|
||||
src/network/lib
|
||||
src/xml/lib/
|
||||
|
||||
.pc/
|
||||
|
||||
# INTEGRITY generated files
|
||||
*.gpj
|
||||
*.int
|
||||
*.ael
|
||||
*.dla
|
||||
*.dnm
|
||||
*.dep
|
||||
*.map
|
||||
work
|
||||
.qmake.super
|
||||
|
||||
164
.gitmodules
vendored
164
.gitmodules
vendored
@@ -1,57 +1,175 @@
|
||||
[submodule "qtbase"]
|
||||
path = qtbase
|
||||
url = git://gitorious.org/qt/qtbase.git
|
||||
url = ../qtbase.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsvg"]
|
||||
path = qtsvg
|
||||
url = git://gitorious.org/qt/qtsvg.git
|
||||
url = ../qtsvg.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtdeclarative"]
|
||||
path = qtdeclarative
|
||||
url = git://gitorious.org/qt/qtdeclarative.git
|
||||
url = ../qtdeclarative.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtactiveqt"]
|
||||
path = qtactiveqt
|
||||
url = ../qtactiveqt.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtscript"]
|
||||
path = qtscript
|
||||
url = git://gitorious.org/qt/qtscript.git
|
||||
url = ../qtscript.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtmultimedia"]
|
||||
path = qtmultimedia
|
||||
url = git://gitorious.org/qt/qtmultimedia.git
|
||||
url = ../qtmultimedia.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qttools"]
|
||||
path = qttools
|
||||
url = git://gitorious.org/qt/qttools.git
|
||||
url = ../qttools.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtxmlpatterns"]
|
||||
path = qtxmlpatterns
|
||||
url = git://gitorious.org/qt/qtxmlpatterns.git
|
||||
url = ../qtxmlpatterns.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qttranslations"]
|
||||
path = qttranslations
|
||||
url = ../qttranslations.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtdoc"]
|
||||
path = qtdoc
|
||||
url = git://gitorious.org/qt/qtdoc.git
|
||||
[submodule "qtwebkit-examples-and-demos"]
|
||||
path = qtwebkit-examples-and-demos
|
||||
url = git://gitorious.org/qt/qtwebkit-examples-and-demos.git
|
||||
url = ../qtdoc.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtrepotools"]
|
||||
path = qtrepotools
|
||||
url = ../qtrepotools.git
|
||||
branch = master
|
||||
initrepo = true
|
||||
[submodule "qtwebkit"]
|
||||
path = qtwebkit
|
||||
url = git://gitorious.org/qtwebkit/qt5-module.git
|
||||
url = ../qtwebkit.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebkit-examples"]
|
||||
path = qtwebkit-examples
|
||||
url = ../qtwebkit-examples.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtqa"]
|
||||
path = qtqa
|
||||
url = ../qtqa.git
|
||||
branch = master
|
||||
initrepo = true
|
||||
[submodule "qtlocation"]
|
||||
path = qtlocation
|
||||
url = git://gitorious.org/qt/qtlocation.git
|
||||
url = ../qtlocation.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsensors"]
|
||||
path = qtsensors
|
||||
url = git://gitorious.org/qt/qtsensors.git
|
||||
url = ../qtsensors.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtsystems"]
|
||||
path = qtsystems
|
||||
url = git://gitorious.org/qt/qtsystems.git
|
||||
url = ../qtsystems.git
|
||||
branch = dev
|
||||
[submodule "qtfeedback"]
|
||||
path = qtfeedback
|
||||
url = ../qtfeedback.git
|
||||
branch = master
|
||||
[submodule "qtdocgallery"]
|
||||
path = qtdocgallery
|
||||
url = ../qtdocgallery.git
|
||||
branch = master
|
||||
[submodule "qtpim"]
|
||||
path = qtpim
|
||||
url = ../qtpim.git
|
||||
branch = dev
|
||||
[submodule "qtconnectivity"]
|
||||
path = qtconnectivity
|
||||
url = ../qtconnectivity.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwayland"]
|
||||
path = qtwayland
|
||||
url = git://gitorious.org/qt/qtwayland.git
|
||||
url = ../qtwayland.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qt3d"]
|
||||
path = qt3d
|
||||
url = git://gitorious.org/qt/qt3d.git
|
||||
[submodule "qtjsbackend"]
|
||||
path = qtjsbackend
|
||||
url = git://gitorious.org/qt/qtjsbackend.git
|
||||
url = ../qt3d.git
|
||||
branch = dev
|
||||
[submodule "qtimageformats"]
|
||||
path = qtimageformats
|
||||
url = git://gitorious.org/qt/qtimageformats.git
|
||||
url = ../qtimageformats.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtquick1"]
|
||||
path = qtquick1
|
||||
url = git://gitorious.org/qt/qtquick1.git
|
||||
url = ../qtquick1.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtgraphicaleffects"]
|
||||
path = qtgraphicaleffects
|
||||
url = git://gitorious.org/qt/qtgraphicaleffects.git
|
||||
url = ../qtgraphicaleffects.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtquickcontrols"]
|
||||
path = qtquickcontrols
|
||||
url = ../qtquickcontrols.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtserialport"]
|
||||
path = qtserialport
|
||||
url = ../qtserialport.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtx11extras"]
|
||||
path = qtx11extras
|
||||
url = ../qtx11extras.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtmacextras"]
|
||||
path = qtmacextras
|
||||
url = ../qtmacextras.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwinextras"]
|
||||
path = qtwinextras
|
||||
url = ../qtwinextras.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtandroidextras"]
|
||||
path = qtandroidextras
|
||||
url = ../qtandroidextras.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtenginio"]
|
||||
path = qtenginio
|
||||
url = ../qtenginio.git
|
||||
branch = 1.1
|
||||
initrepo = true
|
||||
[submodule "qtwebsockets"]
|
||||
path = qtwebsockets
|
||||
url = ../qtwebsockets.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebchannel"]
|
||||
path = qtwebchannel
|
||||
url = ../qtwebchannel.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
[submodule "qtwebengine"]
|
||||
path = qtwebengine
|
||||
url = ../qtwebengine.git
|
||||
branch = 5.4
|
||||
initrepo = true
|
||||
|
||||
22
LGPL_EXCEPTION.txt
Normal file
22
LGPL_EXCEPTION.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
Digia Qt LGPL Exception version 1.1
|
||||
|
||||
As an additional permission to the GNU Lesser General Public License version
|
||||
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||
material from a header file that is part of the Library. You may distribute
|
||||
such object code under terms of your choice, provided that:
|
||||
(i) the header files of the Library have not been modified; and
|
||||
(ii) the incorporated material is limited to numerical parameters, data
|
||||
structure layouts, accessors, macros, inline functions and
|
||||
templates; and
|
||||
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||
Public License version 2.1.
|
||||
|
||||
Moreover, you may apply this exception to a modified version of the Library,
|
||||
provided that such modification does not involve copying material from the
|
||||
Library into the modified Library's header files unless such material is
|
||||
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||
five lines or less in length.
|
||||
|
||||
Furthermore, you are not required to apply this additional permission to a
|
||||
modified version of the Library.
|
||||
450
LICENSE.FDL
Normal file
450
LICENSE.FDL
Normal file
@@ -0,0 +1,450 @@
|
||||
GNU Free Documentation License
|
||||
Version 1.3, 3 November 2008
|
||||
|
||||
|
||||
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||
<http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
0. PREAMBLE
|
||||
|
||||
The purpose of this License is to make a manual, textbook, or other
|
||||
functional and useful document "free" in the sense of freedom: to
|
||||
assure everyone the effective freedom to copy and redistribute it,
|
||||
with or without modifying it, either commercially or noncommercially.
|
||||
Secondarily, this License preserves for the author and publisher a way
|
||||
to get credit for their work, while not being considered responsible
|
||||
for modifications made by others.
|
||||
|
||||
This License is a kind of "copyleft", which means that derivative
|
||||
works of the document must themselves be free in the same sense. It
|
||||
complements the GNU General Public License, which is a copyleft
|
||||
license designed for free software.
|
||||
|
||||
We have designed this License in order to use it for manuals for free
|
||||
software, because free software needs free documentation: a free
|
||||
program should come with manuals providing the same freedoms that the
|
||||
software does. But this License is not limited to software manuals;
|
||||
it can be used for any textual work, regardless of subject matter or
|
||||
whether it is published as a printed book. We recommend this License
|
||||
principally for works whose purpose is instruction or reference.
|
||||
|
||||
|
||||
1. APPLICABILITY AND DEFINITIONS
|
||||
|
||||
This License applies to any manual or other work, in any medium, that
|
||||
contains a notice placed by the copyright holder saying it can be
|
||||
distributed under the terms of this License. Such a notice grants a
|
||||
world-wide, royalty-free license, unlimited in duration, to use that
|
||||
work under the conditions stated herein. The "Document", below,
|
||||
refers to any such manual or work. Any member of the public is a
|
||||
licensee, and is addressed as "you". You accept the license if you
|
||||
copy, modify or distribute the work in a way requiring permission
|
||||
under copyright law.
|
||||
|
||||
A "Modified Version" of the Document means any work containing the
|
||||
Document or a portion of it, either copied verbatim, or with
|
||||
modifications and/or translated into another language.
|
||||
|
||||
A "Secondary Section" is a named appendix or a front-matter section of
|
||||
the Document that deals exclusively with the relationship of the
|
||||
publishers or authors of the Document to the Document's overall
|
||||
subject (or to related matters) and contains nothing that could fall
|
||||
directly within that overall subject. (Thus, if the Document is in
|
||||
part a textbook of mathematics, a Secondary Section may not explain
|
||||
any mathematics.) The relationship could be a matter of historical
|
||||
connection with the subject or with related matters, or of legal,
|
||||
commercial, philosophical, ethical or political position regarding
|
||||
them.
|
||||
|
||||
The "Invariant Sections" are certain Secondary Sections whose titles
|
||||
are designated, as being those of Invariant Sections, in the notice
|
||||
that says that the Document is released under this License. If a
|
||||
section does not fit the above definition of Secondary then it is not
|
||||
allowed to be designated as Invariant. The Document may contain zero
|
||||
Invariant Sections. If the Document does not identify any Invariant
|
||||
Sections then there are none.
|
||||
|
||||
The "Cover Texts" are certain short passages of text that are listed,
|
||||
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||
the Document is released under this License. A Front-Cover Text may
|
||||
be at most 5 words, and a Back-Cover Text may be at most 25 words.
|
||||
|
||||
A "Transparent" copy of the Document means a machine-readable copy,
|
||||
represented in a format whose specification is available to the
|
||||
general public, that is suitable for revising the document
|
||||
straightforwardly with generic text editors or (for images composed of
|
||||
pixels) generic paint programs or (for drawings) some widely available
|
||||
drawing editor, and that is suitable for input to text formatters or
|
||||
for automatic translation to a variety of formats suitable for input
|
||||
to text formatters. A copy made in an otherwise Transparent file
|
||||
format whose markup, or absence of markup, has been arranged to thwart
|
||||
or discourage subsequent modification by readers is not Transparent.
|
||||
An image format is not Transparent if used for any substantial amount
|
||||
of text. A copy that is not "Transparent" is called "Opaque".
|
||||
|
||||
Examples of suitable formats for Transparent copies include plain
|
||||
ASCII without markup, Texinfo input format, LaTeX input format, SGML
|
||||
or XML using a publicly available DTD, and standard-conforming simple
|
||||
HTML, PostScript or PDF designed for human modification. Examples of
|
||||
transparent image formats include PNG, XCF and JPG. Opaque formats
|
||||
include proprietary formats that can be read and edited only by
|
||||
proprietary word processors, SGML or XML for which the DTD and/or
|
||||
processing tools are not generally available, and the
|
||||
machine-generated HTML, PostScript or PDF produced by some word
|
||||
processors for output purposes only.
|
||||
|
||||
The "Title Page" means, for a printed book, the title page itself,
|
||||
plus such following pages as are needed to hold, legibly, the material
|
||||
this License requires to appear in the title page. For works in
|
||||
formats which do not have any title page as such, "Title Page" means
|
||||
the text near the most prominent appearance of the work's title,
|
||||
preceding the beginning of the body of the text.
|
||||
|
||||
The "publisher" means any person or entity that distributes copies of
|
||||
the Document to the public.
|
||||
|
||||
A section "Entitled XYZ" means a named subunit of the Document whose
|
||||
title either is precisely XYZ or contains XYZ in parentheses following
|
||||
text that translates XYZ in another language. (Here XYZ stands for a
|
||||
specific section name mentioned below, such as "Acknowledgements",
|
||||
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
|
||||
of such a section when you modify the Document means that it remains a
|
||||
section "Entitled XYZ" according to this definition.
|
||||
|
||||
The Document may include Warranty Disclaimers next to the notice which
|
||||
states that this License applies to the Document. These Warranty
|
||||
Disclaimers are considered to be included by reference in this
|
||||
License, but only as regards disclaiming warranties: any other
|
||||
implication that these Warranty Disclaimers may have is void and has
|
||||
no effect on the meaning of this License.
|
||||
|
||||
2. VERBATIM COPYING
|
||||
|
||||
You may copy and distribute the Document in any medium, either
|
||||
commercially or noncommercially, provided that this License, the
|
||||
copyright notices, and the license notice saying this License applies
|
||||
to the Document are reproduced in all copies, and that you add no
|
||||
other conditions whatsoever to those of this License. You may not use
|
||||
technical measures to obstruct or control the reading or further
|
||||
copying of the copies you make or distribute. However, you may accept
|
||||
compensation in exchange for copies. If you distribute a large enough
|
||||
number of copies you must also follow the conditions in section 3.
|
||||
|
||||
You may also lend copies, under the same conditions stated above, and
|
||||
you may publicly display copies.
|
||||
|
||||
|
||||
3. COPYING IN QUANTITY
|
||||
|
||||
If you publish printed copies (or copies in media that commonly have
|
||||
printed covers) of the Document, numbering more than 100, and the
|
||||
Document's license notice requires Cover Texts, you must enclose the
|
||||
copies in covers that carry, clearly and legibly, all these Cover
|
||||
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||
the back cover. Both covers must also clearly and legibly identify
|
||||
you as the publisher of these copies. The front cover must present
|
||||
the full title with all words of the title equally prominent and
|
||||
visible. You may add other material on the covers in addition.
|
||||
Copying with changes limited to the covers, as long as they preserve
|
||||
the title of the Document and satisfy these conditions, can be treated
|
||||
as verbatim copying in other respects.
|
||||
|
||||
If the required texts for either cover are too voluminous to fit
|
||||
legibly, you should put the first ones listed (as many as fit
|
||||
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||
pages.
|
||||
|
||||
If you publish or distribute Opaque copies of the Document numbering
|
||||
more than 100, you must either include a machine-readable Transparent
|
||||
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||
a computer-network location from which the general network-using
|
||||
public has access to download using public-standard network protocols
|
||||
a complete Transparent copy of the Document, free of added material.
|
||||
If you use the latter option, you must take reasonably prudent steps,
|
||||
when you begin distribution of Opaque copies in quantity, to ensure
|
||||
that this Transparent copy will remain thus accessible at the stated
|
||||
location until at least one year after the last time you distribute an
|
||||
Opaque copy (directly or through your agents or retailers) of that
|
||||
edition to the public.
|
||||
|
||||
It is requested, but not required, that you contact the authors of the
|
||||
Document well before redistributing any large number of copies, to
|
||||
give them a chance to provide you with an updated version of the
|
||||
Document.
|
||||
|
||||
|
||||
4. MODIFICATIONS
|
||||
|
||||
You may copy and distribute a Modified Version of the Document under
|
||||
the conditions of sections 2 and 3 above, provided that you release
|
||||
the Modified Version under precisely this License, with the Modified
|
||||
Version filling the role of the Document, thus licensing distribution
|
||||
and modification of the Modified Version to whoever possesses a copy
|
||||
of it. In addition, you must do these things in the Modified Version:
|
||||
|
||||
A. Use in the Title Page (and on the covers, if any) a title distinct
|
||||
from that of the Document, and from those of previous versions
|
||||
(which should, if there were any, be listed in the History section
|
||||
of the Document). You may use the same title as a previous version
|
||||
if the original publisher of that version gives permission.
|
||||
B. List on the Title Page, as authors, one or more persons or entities
|
||||
responsible for authorship of the modifications in the Modified
|
||||
Version, together with at least five of the principal authors of the
|
||||
Document (all of its principal authors, if it has fewer than five),
|
||||
unless they release you from this requirement.
|
||||
C. State on the Title page the name of the publisher of the
|
||||
Modified Version, as the publisher.
|
||||
D. Preserve all the copyright notices of the Document.
|
||||
E. Add an appropriate copyright notice for your modifications
|
||||
adjacent to the other copyright notices.
|
||||
F. Include, immediately after the copyright notices, a license notice
|
||||
giving the public permission to use the Modified Version under the
|
||||
terms of this License, in the form shown in the Addendum below.
|
||||
G. Preserve in that license notice the full lists of Invariant Sections
|
||||
and required Cover Texts given in the Document's license notice.
|
||||
H. Include an unaltered copy of this License.
|
||||
I. Preserve the section Entitled "History", Preserve its Title, and add
|
||||
to it an item stating at least the title, year, new authors, and
|
||||
publisher of the Modified Version as given on the Title Page. If
|
||||
there is no section Entitled "History" in the Document, create one
|
||||
stating the title, year, authors, and publisher of the Document as
|
||||
given on its Title Page, then add an item describing the Modified
|
||||
Version as stated in the previous sentence.
|
||||
J. Preserve the network location, if any, given in the Document for
|
||||
public access to a Transparent copy of the Document, and likewise
|
||||
the network locations given in the Document for previous versions
|
||||
it was based on. These may be placed in the "History" section.
|
||||
You may omit a network location for a work that was published at
|
||||
least four years before the Document itself, or if the original
|
||||
publisher of the version it refers to gives permission.
|
||||
K. For any section Entitled "Acknowledgements" or "Dedications",
|
||||
Preserve the Title of the section, and preserve in the section all
|
||||
the substance and tone of each of the contributor acknowledgements
|
||||
and/or dedications given therein.
|
||||
L. Preserve all the Invariant Sections of the Document,
|
||||
unaltered in their text and in their titles. Section numbers
|
||||
or the equivalent are not considered part of the section titles.
|
||||
M. Delete any section Entitled "Endorsements". Such a section
|
||||
may not be included in the Modified Version.
|
||||
N. Do not retitle any existing section to be Entitled "Endorsements"
|
||||
or to conflict in title with any Invariant Section.
|
||||
O. Preserve any Warranty Disclaimers.
|
||||
|
||||
If the Modified Version includes new front-matter sections or
|
||||
appendices that qualify as Secondary Sections and contain no material
|
||||
copied from the Document, you may at your option designate some or all
|
||||
of these sections as invariant. To do this, add their titles to the
|
||||
list of Invariant Sections in the Modified Version's license notice.
|
||||
These titles must be distinct from any other section titles.
|
||||
|
||||
You may add a section Entitled "Endorsements", provided it contains
|
||||
nothing but endorsements of your Modified Version by various
|
||||
parties--for example, statements of peer review or that the text has
|
||||
been approved by an organization as the authoritative definition of a
|
||||
standard.
|
||||
|
||||
You may add a passage of up to five words as a Front-Cover Text, and a
|
||||
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||
of Cover Texts in the Modified Version. Only one passage of
|
||||
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||
through arrangements made by) any one entity. If the Document already
|
||||
includes a cover text for the same cover, previously added by you or
|
||||
by arrangement made by the same entity you are acting on behalf of,
|
||||
you may not add another; but you may replace the old one, on explicit
|
||||
permission from the previous publisher that added the old one.
|
||||
|
||||
The author(s) and publisher(s) of the Document do not by this License
|
||||
give permission to use their names for publicity for or to assert or
|
||||
imply endorsement of any Modified Version.
|
||||
|
||||
|
||||
5. COMBINING DOCUMENTS
|
||||
|
||||
You may combine the Document with other documents released under this
|
||||
License, under the terms defined in section 4 above for modified
|
||||
versions, provided that you include in the combination all of the
|
||||
Invariant Sections of all of the original documents, unmodified, and
|
||||
list them all as Invariant Sections of your combined work in its
|
||||
license notice, and that you preserve all their Warranty Disclaimers.
|
||||
|
||||
The combined work need only contain one copy of this License, and
|
||||
multiple identical Invariant Sections may be replaced with a single
|
||||
copy. If there are multiple Invariant Sections with the same name but
|
||||
different contents, make the title of each such section unique by
|
||||
adding at the end of it, in parentheses, the name of the original
|
||||
author or publisher of that section if known, or else a unique number.
|
||||
Make the same adjustment to the section titles in the list of
|
||||
Invariant Sections in the license notice of the combined work.
|
||||
|
||||
In the combination, you must combine any sections Entitled "History"
|
||||
in the various original documents, forming one section Entitled
|
||||
"History"; likewise combine any sections Entitled "Acknowledgements",
|
||||
and any sections Entitled "Dedications". You must delete all sections
|
||||
Entitled "Endorsements".
|
||||
|
||||
|
||||
6. COLLECTIONS OF DOCUMENTS
|
||||
|
||||
You may make a collection consisting of the Document and other
|
||||
documents released under this License, and replace the individual
|
||||
copies of this License in the various documents with a single copy
|
||||
that is included in the collection, provided that you follow the rules
|
||||
of this License for verbatim copying of each of the documents in all
|
||||
other respects.
|
||||
|
||||
You may extract a single document from such a collection, and
|
||||
distribute it individually under this License, provided you insert a
|
||||
copy of this License into the extracted document, and follow this
|
||||
License in all other respects regarding verbatim copying of that
|
||||
document.
|
||||
|
||||
|
||||
7. AGGREGATION WITH INDEPENDENT WORKS
|
||||
|
||||
A compilation of the Document or its derivatives with other separate
|
||||
and independent documents or works, in or on a volume of a storage or
|
||||
distribution medium, is called an "aggregate" if the copyright
|
||||
resulting from the compilation is not used to limit the legal rights
|
||||
of the compilation's users beyond what the individual works permit.
|
||||
When the Document is included in an aggregate, this License does not
|
||||
apply to the other works in the aggregate which are not themselves
|
||||
derivative works of the Document.
|
||||
|
||||
If the Cover Text requirement of section 3 is applicable to these
|
||||
copies of the Document, then if the Document is less than one half of
|
||||
the entire aggregate, the Document's Cover Texts may be placed on
|
||||
covers that bracket the Document within the aggregate, or the
|
||||
electronic equivalent of covers if the Document is in electronic form.
|
||||
Otherwise they must appear on printed covers that bracket the whole
|
||||
aggregate.
|
||||
|
||||
|
||||
8. TRANSLATION
|
||||
|
||||
Translation is considered a kind of modification, so you may
|
||||
distribute translations of the Document under the terms of section 4.
|
||||
Replacing Invariant Sections with translations requires special
|
||||
permission from their copyright holders, but you may include
|
||||
translations of some or all Invariant Sections in addition to the
|
||||
original versions of these Invariant Sections. You may include a
|
||||
translation of this License, and all the license notices in the
|
||||
Document, and any Warranty Disclaimers, provided that you also include
|
||||
the original English version of this License and the original versions
|
||||
of those notices and disclaimers. In case of a disagreement between
|
||||
the translation and the original version of this License or a notice
|
||||
or disclaimer, the original version will prevail.
|
||||
|
||||
If a section in the Document is Entitled "Acknowledgements",
|
||||
"Dedications", or "History", the requirement (section 4) to Preserve
|
||||
its Title (section 1) will typically require changing the actual
|
||||
title.
|
||||
|
||||
|
||||
9. TERMINATION
|
||||
|
||||
You may not copy, modify, sublicense, or distribute the Document
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense, or distribute it is void, and
|
||||
will automatically terminate your rights under this License.
|
||||
|
||||
However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, receipt of a copy of some or all of the same material does
|
||||
not give you any rights to use it.
|
||||
|
||||
|
||||
10. FUTURE REVISIONS OF THIS LICENSE
|
||||
|
||||
The Free Software Foundation may publish new, revised versions of the
|
||||
GNU Free Documentation License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in
|
||||
detail to address new problems or concerns. See
|
||||
http://www.gnu.org/copyleft/.
|
||||
|
||||
Each version of the License is given a distinguishing version number.
|
||||
If the Document specifies that a particular numbered version of this
|
||||
License "or any later version" applies to it, you have the option of
|
||||
following the terms and conditions either of that specified version or
|
||||
of any later version that has been published (not as a draft) by the
|
||||
Free Software Foundation. If the Document does not specify a version
|
||||
number of this License, you may choose any version ever published (not
|
||||
as a draft) by the Free Software Foundation. If the Document
|
||||
specifies that a proxy can decide which future versions of this
|
||||
License can be used, that proxy's public statement of acceptance of a
|
||||
version permanently authorizes you to choose that version for the
|
||||
Document.
|
||||
|
||||
11. RELICENSING
|
||||
|
||||
"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
|
||||
World Wide Web server that publishes copyrightable works and also
|
||||
provides prominent facilities for anybody to edit those works. A
|
||||
public wiki that anybody can edit is an example of such a server. A
|
||||
"Massive Multiauthor Collaboration" (or "MMC") contained in the site
|
||||
means any set of copyrightable works thus published on the MMC site.
|
||||
|
||||
"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
|
||||
license published by Creative Commons Corporation, a not-for-profit
|
||||
corporation with a principal place of business in San Francisco,
|
||||
California, as well as future copyleft versions of that license
|
||||
published by that same organization.
|
||||
|
||||
"Incorporate" means to publish or republish a Document, in whole or in
|
||||
part, as part of another Document.
|
||||
|
||||
An MMC is "eligible for relicensing" if it is licensed under this
|
||||
License, and if all works that were first published under this License
|
||||
somewhere other than this MMC, and subsequently incorporated in whole or
|
||||
in part into the MMC, (1) had no cover texts or invariant sections, and
|
||||
(2) were thus incorporated prior to November 1, 2008.
|
||||
|
||||
The operator of an MMC Site may republish an MMC contained in the site
|
||||
under CC-BY-SA on the same site at any time before August 1, 2009,
|
||||
provided the MMC is eligible for relicensing.
|
||||
|
||||
|
||||
ADDENDUM: How to use this License for your documents
|
||||
|
||||
To use this License in a document you have written, include a copy of
|
||||
the License in the document and put the following copyright and
|
||||
license notices just after the title page:
|
||||
|
||||
Copyright (c) YEAR YOUR NAME.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".
|
||||
|
||||
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
|
||||
replace the "with...Texts." line with this:
|
||||
|
||||
with the Invariant Sections being LIST THEIR TITLES, with the
|
||||
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
||||
|
||||
If you have Invariant Sections without Cover Texts, or some other
|
||||
combination of the three, merge those two alternatives to suit the
|
||||
situation.
|
||||
|
||||
If your document contains nontrivial examples of program code, we
|
||||
recommend releasing these examples in parallel under your choice of
|
||||
free software license, such as the GNU General Public License,
|
||||
to permit their use in free software.
|
||||
292
LICENSE.GPLv2
Normal file
292
LICENSE.GPLv2
Normal file
@@ -0,0 +1,292 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
|
||||
The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
|
||||
Contact: http://www.qt-project.org/legal
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
GNU General Public License version 2, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this
|
||||
license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom
|
||||
to share and change it. By contrast, the GNU General Public License is
|
||||
intended to guarantee your freedom to share and change free software
|
||||
--to make sure the software is free for all its users. This General
|
||||
Public License applies to most of the Free Software Foundation's
|
||||
software and to any other program whose authors commit to using it.
|
||||
(Some other Free Software Foundation software is covered by the GNU
|
||||
Lesser General Public License instead.) You can apply it to your
|
||||
programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price.
|
||||
Our General Public Licenses are designed to make sure that you have the
|
||||
freedom to distribute copies of free software (and charge for this
|
||||
service if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone
|
||||
to deny you these rights or to ask you to surrender the rights. These
|
||||
restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that you
|
||||
have. You must make sure that they, too, receive or can get the source
|
||||
code. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents.
|
||||
We wish to avoid the danger that redistributors of a free program will
|
||||
individually obtain patent licenses, in effect making the program
|
||||
proprietary. To prevent this, we have made it clear that any patent
|
||||
must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains a
|
||||
notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of running
|
||||
the Program is not restricted, and the output from the Program is
|
||||
covered only if its contents constitute a work based on the Program
|
||||
(independent of having been made by running the Program). Whether that
|
||||
is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's source
|
||||
code as you receive it, in any medium, provided that you conspicuously
|
||||
and appropriately publish on each copy an appropriate copyright notice
|
||||
and disclaimer of warranty; keep intact all the notices that refer to
|
||||
this License and to the absence of any warranty; and give any other
|
||||
recipients of the Program a copy of this License along with the
|
||||
Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion of
|
||||
it, thus forming a work based on the Program, and copy and distribute
|
||||
such modifications or work under the terms of Section 1 above, provided
|
||||
that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but does
|
||||
not normally print such an announcement, your work based on the
|
||||
Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of a
|
||||
storage or distribution medium does not bring the other work under the
|
||||
scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software
|
||||
interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your cost
|
||||
of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to control
|
||||
compilation and installation of the executable. However, as a special
|
||||
exception, the source code distributed need not include anything that
|
||||
is normally distributed (in either source or binary form) with the
|
||||
major components (compiler, kernel, and so on) of the operating system
|
||||
on which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access
|
||||
to copy from a designated place, then offering equivalent access to
|
||||
copy the source code from the same place counts as distribution of the
|
||||
source code, even though third parties are not compelled to copy the
|
||||
source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt otherwise
|
||||
to copy, modify, sublicense or distribute the Program is void, and will
|
||||
automatically terminate your rights under this License. However,
|
||||
parties who have received copies, or rights, from you under this License
|
||||
will not have their licenses terminated so long as such parties remain
|
||||
in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further restrictions
|
||||
on the recipients' exercise of the rights granted herein. You are not
|
||||
responsible for enforcing compliance by third parties to this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent license
|
||||
would not permit royalty-free redistribution of the Program by all
|
||||
those who receive copies directly or indirectly through you, then the
|
||||
only way you could satisfy both it and this License would be to refrain
|
||||
entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License may
|
||||
add an explicit geographical distribution limitation excluding those
|
||||
countries, so that distribution is permitted only in or among countries
|
||||
not thus excluded. In such case, this License incorporates the limitation
|
||||
as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail
|
||||
to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Program does not specify a version
|
||||
number of this License, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the
|
||||
author to ask for permission. For software which is copyrighted by
|
||||
the Free Software Foundation, write to the Free Software Foundation;
|
||||
we sometimes make exceptions for this. Our decision will be guided by
|
||||
the two goals of preserving the free status of all derivatives of our
|
||||
free software and of promoting the sharing and reuse of software
|
||||
generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
||||
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
|
||||
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
|
||||
NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
|
||||
MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE
|
||||
TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
514
LICENSE.LGPLv21
Normal file
514
LICENSE.LGPLv21
Normal file
@@ -0,0 +1,514 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
|
||||
The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
|
||||
Contact: http://www.qt-project.org/legal
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
GNU Lesser General Public License version 2.1, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 2.1, February 1999
|
||||
|
||||
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
[This is the first released version of the Lesser GPL. It also counts
|
||||
as the successor of the GNU Library Public License, version 2, hence
|
||||
the version number 2.1.]
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
Licenses are intended to guarantee your freedom to share and change
|
||||
free software--to make sure the software is free for all its users.
|
||||
|
||||
This license, the Lesser General Public License, applies to some
|
||||
specially designated software packages--typically libraries--of the
|
||||
Free Software Foundation and other authors who decide to use it. You
|
||||
can use it too, but we suggest you first think carefully about whether
|
||||
this license or the ordinary General Public License is the better
|
||||
strategy to use in any particular case, based on the explanations below.
|
||||
|
||||
When we speak of free software, we are referring to freedom of use,
|
||||
not price. Our General Public Licenses are designed to make sure that
|
||||
you have the freedom to distribute copies of free software (and charge
|
||||
for this service if you wish); that you receive source code or can get
|
||||
it if you want it; that you can change the software and use pieces of
|
||||
it in new free programs; and that you are informed that you can do
|
||||
these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
distributors to deny you these rights or to ask you to surrender these
|
||||
rights. These restrictions translate to certain responsibilities for
|
||||
you if you distribute copies of the library or if you modify it.
|
||||
|
||||
For example, if you distribute copies of the library, whether gratis
|
||||
or for a fee, you must give the recipients all the rights that we gave
|
||||
you. You must make sure that they, too, receive or can get the source
|
||||
code. If you link other code with the library, you must provide
|
||||
complete object files to the recipients, so that they can relink them
|
||||
with the library after making changes to the library and recompiling
|
||||
it. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with a two-step method: (1) we copyright the
|
||||
library, and (2) we offer you this license, which gives you legal
|
||||
permission to copy, distribute and/or modify the library.
|
||||
|
||||
To protect each distributor, we want to make it very clear that
|
||||
there is no warranty for the free library. Also, if the library is
|
||||
modified by someone else and passed on, the recipients should know
|
||||
that what they have is not the original version, so that the original
|
||||
author's reputation will not be affected by problems that might be
|
||||
introduced by others.
|
||||
|
||||
Finally, software patents pose a constant threat to the existence of
|
||||
any free program. We wish to make sure that a company cannot
|
||||
effectively restrict the users of a free program by obtaining a
|
||||
restrictive license from a patent holder. Therefore, we insist that
|
||||
any patent license obtained for a version of the library must be
|
||||
consistent with the full freedom of use specified in this license.
|
||||
|
||||
Most GNU software, including some libraries, is covered by the
|
||||
ordinary GNU General Public License. This license, the GNU Lesser
|
||||
General Public License, applies to certain designated libraries, and
|
||||
is quite different from the ordinary General Public License. We use
|
||||
this license for certain libraries in order to permit linking those
|
||||
libraries into non-free programs.
|
||||
|
||||
When a program is linked with a library, whether statically or using
|
||||
a shared library, the combination of the two is legally speaking a
|
||||
combined work, a derivative of the original library. The ordinary
|
||||
General Public License therefore permits such linking only if the
|
||||
entire combination fits its criteria of freedom. The Lesser General
|
||||
Public License permits more lax criteria for linking other code with
|
||||
the library.
|
||||
|
||||
We call this license the "Lesser" General Public License because it
|
||||
does Less to protect the user's freedom than the ordinary General
|
||||
Public License. It also provides other free software developers Less
|
||||
of an advantage over competing non-free programs. These disadvantages
|
||||
are the reason we use the ordinary General Public License for many
|
||||
libraries. However, the Lesser license provides advantages in certain
|
||||
special circumstances.
|
||||
|
||||
For example, on rare occasions, there may be a special need to
|
||||
encourage the widest possible use of a certain library, so that it becomes
|
||||
a de-facto standard. To achieve this, non-free programs must be
|
||||
allowed to use the library. A more frequent case is that a free
|
||||
library does the same job as widely used non-free libraries. In this
|
||||
case, there is little to gain by limiting the free library to free
|
||||
software only, so we use the Lesser General Public License.
|
||||
|
||||
In other cases, permission to use a particular library in non-free
|
||||
programs enables a greater number of people to use a large body of
|
||||
free software. For example, permission to use the GNU C Library in
|
||||
non-free programs enables many more people to use the whole GNU
|
||||
operating system, as well as its variant, the GNU/Linux operating
|
||||
system.
|
||||
|
||||
Although the Lesser General Public License is Less protective of the
|
||||
users' freedom, it does ensure that the user of a program that is
|
||||
linked with the Library has the freedom and the wherewithal to run
|
||||
that program using a modified version of the Library.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow. Pay close attention to the difference between a
|
||||
"work based on the library" and a "work that uses the library". The
|
||||
former contains code derived from the library, whereas the latter must
|
||||
be combined with the library in order to run.
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License Agreement applies to any software library or other
|
||||
program which contains a notice placed by the copyright holder or
|
||||
other authorized party saying it may be distributed under the terms of
|
||||
this Lesser General Public License (also called "this License").
|
||||
Each licensee is addressed as "you".
|
||||
|
||||
A "library" means a collection of software functions and/or data
|
||||
prepared so as to be conveniently linked with application programs
|
||||
(which use some of those functions and data) to form executables.
|
||||
|
||||
The "Library", below, refers to any such software library or work
|
||||
which has been distributed under these terms. A "work based on the
|
||||
Library" means either the Library or any derivative work under
|
||||
copyright law: that is to say, a work containing the Library or a
|
||||
portion of it, either verbatim or with modifications and/or translated
|
||||
straightforwardly into another language. (Hereinafter, translation is
|
||||
included without limitation in the term "modification".)
|
||||
|
||||
"Source code" for a work means the preferred form of the work for
|
||||
making modifications to it. For a library, complete source code means
|
||||
all the source code for all modules it contains, plus any associated
|
||||
interface definition files, plus the scripts used to control compilation
|
||||
and installation of the library.
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running a program using the Library is not restricted, and output from
|
||||
such a program is covered only if its contents constitute a work based
|
||||
on the Library (independent of the use of the Library in a tool for
|
||||
writing it). Whether that is true depends on what the Library does
|
||||
and what the program that uses the Library does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Library's
|
||||
complete source code as you receive it, in any medium, provided that
|
||||
you conspicuously and appropriately publish on each copy an
|
||||
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||
all the notices that refer to this License and to the absence of any
|
||||
warranty; and distribute a copy of this License along with the
|
||||
Library.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy,
|
||||
and you may at your option offer warranty protection in exchange for a
|
||||
fee.
|
||||
|
||||
2. You may modify your copy or copies of the Library or any portion
|
||||
of it, thus forming a work based on the Library, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) The modified work must itself be a software library.
|
||||
|
||||
b) You must cause the files modified to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
c) You must cause the whole of the work to be licensed at no
|
||||
charge to all third parties under the terms of this License.
|
||||
|
||||
d) If a facility in the modified Library refers to a function or a
|
||||
table of data to be supplied by an application program that uses
|
||||
the facility, other than as an argument passed when the facility
|
||||
is invoked, then you must make a good faith effort to ensure that,
|
||||
in the event an application does not supply such function or
|
||||
table, the facility still operates, and performs whatever part of
|
||||
its purpose remains meaningful.
|
||||
|
||||
(For example, a function in a library to compute square roots has
|
||||
a purpose that is entirely well-defined independent of the
|
||||
application. Therefore, Subsection 2d requires that any
|
||||
application-supplied function or table used by this function must
|
||||
be optional: if the application does not supply it, the square
|
||||
root function must still compute square roots.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Library,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Library, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote
|
||||
it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Library.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Library
|
||||
with the Library (or with a work based on the Library) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||
License instead of this License to a given copy of the Library. To do
|
||||
this, you must alter all the notices that refer to this License, so
|
||||
that they refer to the ordinary GNU General Public License, version 2,
|
||||
instead of to this License. (If a newer version than version 2 of the
|
||||
ordinary GNU General Public License has appeared, then you can specify
|
||||
that version instead if you wish.) Do not make any other change in
|
||||
these notices.
|
||||
|
||||
Once this change is made in a given copy, it is irreversible for
|
||||
that copy, so the ordinary GNU General Public License applies to all
|
||||
subsequent copies and derivative works made from that copy.
|
||||
|
||||
This option is useful when you wish to copy part of the code of
|
||||
the Library into a program that is not a library.
|
||||
|
||||
4. You may copy and distribute the Library (or a portion or
|
||||
derivative of it, under Section 2) in object code or executable form
|
||||
under the terms of Sections 1 and 2 above provided that you accompany
|
||||
it with the complete corresponding machine-readable source code, which
|
||||
must be distributed under the terms of Sections 1 and 2 above on a
|
||||
medium customarily used for software interchange.
|
||||
|
||||
If distribution of object code is made by offering access to copy
|
||||
from a designated place, then offering equivalent access to copy the
|
||||
source code from the same place satisfies the requirement to
|
||||
distribute the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
5. A program that contains no derivative of any portion of the
|
||||
Library, but is designed to work with the Library by being compiled or
|
||||
linked with it, is called a "work that uses the Library". Such a
|
||||
work, in isolation, is not a derivative work of the Library, and
|
||||
therefore falls outside the scope of this License.
|
||||
|
||||
However, linking a "work that uses the Library" with the Library
|
||||
creates an executable that is a derivative of the Library (because it
|
||||
contains portions of the Library), rather than a "work that uses the
|
||||
library". The executable is therefore covered by this License.
|
||||
Section 6 states terms for distribution of such executables.
|
||||
|
||||
When a "work that uses the Library" uses material from a header file
|
||||
that is part of the Library, the object code for the work may be a
|
||||
derivative work of the Library even though the source code is not.
|
||||
Whether this is true is especially significant if the work can be
|
||||
linked without the Library, or if the work is itself a library. The
|
||||
threshold for this to be true is not precisely defined by law.
|
||||
|
||||
If such an object file uses only numerical parameters, data
|
||||
structure layouts and accessors, and small macros and small inline
|
||||
functions (ten lines or less in length), then the use of the object
|
||||
file is unrestricted, regardless of whether it is legally a derivative
|
||||
work. (Executables containing this object code plus portions of the
|
||||
Library will still fall under Section 6.)
|
||||
|
||||
Otherwise, if the work is a derivative of the Library, you may
|
||||
distribute the object code for the work under the terms of Section 6.
|
||||
Any executables containing that work also fall under Section 6,
|
||||
whether or not they are linked directly with the Library itself.
|
||||
|
||||
6. As an exception to the Sections above, you may also combine or
|
||||
link a "work that uses the Library" with the Library to produce a
|
||||
work containing portions of the Library, and distribute that work
|
||||
under terms of your choice, provided that the terms permit
|
||||
modification of the work for the customer's own use and reverse
|
||||
engineering for debugging such modifications.
|
||||
|
||||
You must give prominent notice with each copy of the work that the
|
||||
Library is used in it and that the Library and its use are covered by
|
||||
this License. You must supply a copy of this License. If the work
|
||||
during execution displays copyright notices, you must include the
|
||||
copyright notice for the Library among them, as well as a reference
|
||||
directing the user to the copy of this License. Also, you must do one
|
||||
of these things:
|
||||
|
||||
a) Accompany the work with the complete corresponding
|
||||
machine-readable source code for the Library including whatever
|
||||
changes were used in the work (which must be distributed under
|
||||
Sections 1 and 2 above); and, if the work is an executable linked
|
||||
with the Library, with the complete machine-readable "work that
|
||||
uses the Library", as object code and/or source code, so that the
|
||||
user can modify the Library and then relink to produce a modified
|
||||
executable containing the modified Library. (It is understood
|
||||
that the user who changes the contents of definitions files in the
|
||||
Library will not necessarily be able to recompile the application
|
||||
to use the modified definitions.)
|
||||
|
||||
b) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (1) uses at run time a
|
||||
copy of the library already present on the user's computer system,
|
||||
rather than copying library functions into the executable, and (2)
|
||||
will operate properly with a modified version of the library, if
|
||||
the user installs one, as long as the modified version is
|
||||
interface-compatible with the version that the work was made with.
|
||||
|
||||
c) Accompany the work with a written offer, valid for at
|
||||
least three years, to give the same user the materials
|
||||
specified in Subsection 6a, above, for a charge no more
|
||||
than the cost of performing this distribution.
|
||||
|
||||
d) If distribution of the work is made by offering access to copy
|
||||
from a designated place, offer equivalent access to copy the above
|
||||
specified materials from the same place.
|
||||
|
||||
e) Verify that the user has already received a copy of these
|
||||
materials or that you have already sent this user a copy.
|
||||
|
||||
For an executable, the required form of the "work that uses the
|
||||
Library" must include any data and utility programs needed for
|
||||
reproducing the executable from it. However, as a special exception,
|
||||
the materials to be distributed need not include anything that is
|
||||
normally distributed (in either source or binary form) with the major
|
||||
components (compiler, kernel, and so on) of the operating system on
|
||||
which the executable runs, unless that component itself accompanies
|
||||
the executable.
|
||||
|
||||
It may happen that this requirement contradicts the license
|
||||
restrictions of other proprietary libraries that do not normally
|
||||
accompany the operating system. Such a contradiction means you cannot
|
||||
use both them and the Library together in an executable that you
|
||||
distribute.
|
||||
|
||||
7. You may place library facilities that are a work based on the
|
||||
Library side-by-side in a single library together with other library
|
||||
facilities not covered by this License, and distribute such a combined
|
||||
library, provided that the separate distribution of the work based on
|
||||
the Library and of the other library facilities is otherwise
|
||||
permitted, and provided that you do these two things:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities. This must be distributed under the terms of the
|
||||
Sections above.
|
||||
|
||||
b) Give prominent notice with the combined library of the fact
|
||||
that part of it is a work based on the Library, and explaining
|
||||
where to find the accompanying uncombined form of the same work.
|
||||
|
||||
8. You may not copy, modify, sublicense, link with, or distribute
|
||||
the Library except as expressly provided under this License. Any
|
||||
attempt otherwise to copy, modify, sublicense, link with, or
|
||||
distribute the Library is void, and will automatically terminate your
|
||||
rights under this License. However, parties who have received copies,
|
||||
or rights, from you under this License will not have their licenses
|
||||
terminated so long as such parties remain in full compliance.
|
||||
|
||||
9. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Library or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Library (or any work based on the
|
||||
Library), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Library or works based on it.
|
||||
|
||||
10. Each time you redistribute the Library (or any work based on the
|
||||
Library), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute, link with or modify the Library
|
||||
subject to these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties with
|
||||
this License.
|
||||
|
||||
11. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Library at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Library by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Library.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any
|
||||
particular circumstance, the balance of the section is intended to apply,
|
||||
and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
12. If the distribution and/or use of the Library is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Library under this License may add
|
||||
an explicit geographical distribution limitation excluding those countries,
|
||||
so that distribution is permitted only in or among countries not thus
|
||||
excluded. In such case, this License incorporates the limitation as if
|
||||
written in the body of this License.
|
||||
|
||||
13. The Free Software Foundation may publish revised and/or new
|
||||
versions of the Lesser General Public License from time to time.
|
||||
Such new versions will be similar in spirit to the present version,
|
||||
but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
specifies a version number of this License which applies to it and
|
||||
"any later version", you have the option of following the terms and
|
||||
conditions either of that version or of any later version published by
|
||||
the Free Software Foundation. If the Library does not specify a
|
||||
license version number, you may choose any version ever published by
|
||||
the Free Software Foundation.
|
||||
|
||||
14. If you wish to incorporate parts of the Library into other free
|
||||
programs whose distribution conditions are incompatible with these,
|
||||
write to the author to ask for permission. For software which is
|
||||
copyrighted by the Free Software Foundation, write to the Free
|
||||
Software Foundation; we sometimes make exceptions for this. Our
|
||||
decision will be guided by the two goals of preserving the free status
|
||||
of all derivatives of our free software and of promoting the sharing
|
||||
and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Libraries
|
||||
|
||||
If you develop a new library, and you want it to be of the greatest
|
||||
possible use to the public, we recommend making it free software that
|
||||
everyone can redistribute and change. You can do so by permitting
|
||||
redistribution under these terms (or, alternatively, under the terms of the
|
||||
ordinary General Public License).
|
||||
|
||||
To apply these terms, attach the following notices to the library. It is
|
||||
safest to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least the
|
||||
"copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the library's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||
library `Frob' (a library for tweaking knobs) written by James Random Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1990
|
||||
Ty Coon, President of Vice
|
||||
|
||||
That's all there is to it!
|
||||
|
||||
|
||||
173
LICENSE.LGPLv3
Normal file
173
LICENSE.LGPLv3
Normal file
@@ -0,0 +1,173 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
|
||||
The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
|
||||
Contact: http://www.qt-project.org/legal
|
||||
|
||||
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||
GNU Lesser General Public License version 3, which is displayed below.
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies of this
|
||||
licensedocument, but changing it is not allowed.
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, “this License” refers to version 3 of the GNU Lesser
|
||||
General Public License, and the “GNU GPL” refers to version 3 of the
|
||||
GNU General Public License.
|
||||
|
||||
“The Library” refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An “Application” is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A “Combined Work” is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the “Linked
|
||||
Version”.
|
||||
|
||||
The “Minimal Corresponding Source” for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The “Corresponding Application Code” for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort
|
||||
to ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this
|
||||
license document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that, taken
|
||||
together, effectively do not restrict modification of the portions of
|
||||
the Library contained in the Combined Work and reverse engineering for
|
||||
debugging such modifications, if you also do each of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this
|
||||
license document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of
|
||||
this License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with
|
||||
the Library. A suitable mechanism is one that (a) uses at run
|
||||
time a copy of the Library already present on the user's
|
||||
computer system, and (b) will operate properly with a modified
|
||||
version of the Library that is interface-compatible with the
|
||||
Linked Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would
|
||||
otherwise be required to provide such information under section 6
|
||||
of the GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the Application
|
||||
with a modified version of the Linked Version. (If you use option
|
||||
4d0, the Installation Information must accompany the Minimal
|
||||
Corresponding Source and Corresponding Application Code. If you
|
||||
use option 4d1, you must provide the Installation Information in
|
||||
the manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the Library
|
||||
side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work
|
||||
based on the Library, uncombined with any other library
|
||||
facilities, conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of
|
||||
it is a work based on the Library, and explaining where to find
|
||||
the accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Library
|
||||
as you received it specifies that a certain numbered version of the
|
||||
GNU Lesser General Public License “or any later version” applies to
|
||||
it, you have the option of following the terms and conditions either
|
||||
of that published version or of any later version published by the
|
||||
Free Software Foundation. If the Library as you received it does not
|
||||
specify a version number of the GNU Lesser General Public License,
|
||||
you may choose any version of the GNU Lesser General Public License
|
||||
ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the Library.
|
||||
|
||||
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
@@ -0,0 +1,628 @@
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT
|
||||
|
||||
For individuals and/or legal entities resident in the Americas (North
|
||||
America, Central America and South America), the applicable licensing
|
||||
terms are specified under the heading "Technology Preview License
|
||||
Agreement: The Americas".
|
||||
|
||||
For individuals and/or legal entities not resident in The Americas, the
|
||||
applicable licensing terms are specified under the heading "Technology
|
||||
Preview License Agreement: Rest of the World".
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement")is a legal agreement
|
||||
between Digia USA, Inc. ("Digia"), with its registered office at 2350
|
||||
Mission College Blvd., Suite 1020, Santa Clara, California 95054,
|
||||
U.S.A. and you (either an individual or a legal entity) ("Licensee") for the
|
||||
Licensed Software (as defined below).
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Digia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Digia containing Feedback, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Digia and/or its Affiliates.
|
||||
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Digia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Digia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Digia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Digia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Digia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Digia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Digia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Digia may terminate the Agreement at any time immediately upon written
|
||||
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||
copies of Licensed Software that were supplied by Digia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Digia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Digia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be governed by and construed in accordance with the
|
||||
federal laws of the United States of America and the internal laws of
|
||||
the State of New York without given effect to any choice of law rule
|
||||
that would result in the application of the laws of any other
|
||||
jurisdiction. The United Nations Convention on Contracts for the
|
||||
International Sale of Goods (CISG) shall not apply. Each Party (a)
|
||||
hereby irrevocably submits itself to and consents to the jurisdiction of
|
||||
the United States District Court for the Southern District of New York
|
||||
(or if such court lacks jurisdiction, the state courts of the State of
|
||||
New York) for the purposes of any action, claim, suit or proceeding
|
||||
between the Parties in connection with any controversy, claim, or
|
||||
dispute arising out of or relating to this Agreement; and (b) hereby
|
||||
waives, and agrees not to assert by way of motion, as a defense or
|
||||
otherwise, in any such action, claim, suit or proceeding, any claim that
|
||||
is not personally subject to the jurisdiction of such court(s), that the
|
||||
action, claim, suit or proceeding is brought in an inconvenient forum or
|
||||
that the venue of the action, claim, suit or proceeding is improper.
|
||||
Notwithstanding the foregoing, nothing in this Section 9.6 is intended
|
||||
to, or shall be deemed to, constitute a submission or consent to, or
|
||||
selection of, jurisdiction, forum or venue for any action for patent
|
||||
infringement, whether or not such action relates to this Agreement.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Digia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Digia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
|
||||
Agreement version 2.4
|
||||
|
||||
This Technology Preview License Agreement ("Agreement") is a legal
|
||||
agreement between Digia Finland Ltd ("Digia"), with its registered office at
|
||||
Valimotie 21,FI-00380 Helsinki, Finland and you (either an individual or a
|
||||
legal entity) ("Licensee") for the Licensed Software.
|
||||
|
||||
1. DEFINITIONS
|
||||
|
||||
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||
indirectly controlling such Party; (ii) which is under the same direct
|
||||
or indirect ownership or control as such Party; or (iii) which is
|
||||
directly or indirectly owned or controlled by such Party. For these
|
||||
purposes, an entity shall be treated as being controlled by another if
|
||||
that other entity has fifty percent (50 %) or more of the votes in such
|
||||
entity, is able to direct its affairs and/or to control the composition
|
||||
of its board of directors or equivalent body.
|
||||
|
||||
"Applications" shall mean Licensee's software products created using the
|
||||
Licensed Software which may include portions of the Licensed Software.
|
||||
|
||||
"Term" shall mean the period of time six (6) months from the later of
|
||||
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||
the date the Licensed Software was initially delivered to Licensee.
|
||||
|
||||
"Licensed Software" shall mean the computer software, "online" or
|
||||
electronic documentation, associated media and printed materials,
|
||||
including the source code, example programs and the documentation
|
||||
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||
|
||||
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||
|
||||
|
||||
2. OWNERSHIP
|
||||
|
||||
The Licensed Software is protected by copyright laws and international
|
||||
copyright treaties, as well as other intellectual property laws and
|
||||
treaties. The Licensed Software is licensed, not sold.
|
||||
|
||||
If Licensee provides any findings, proposals, suggestions or other
|
||||
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||
shall own all right, title and interest including the intellectual
|
||||
property rights in and to such Feedback, excluding however any existing
|
||||
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||
patents for such Feedback Licensee hereby grants to Digia and its
|
||||
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||
derivative works thereof, (ii) to make (and have made), use, import,
|
||||
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||
exploit any products or services of Digia containing Feedback, and
|
||||
(iii) sublicense all the foregoing rights to third party licensees and
|
||||
customers of Digia and/or its Affiliates.
|
||||
|
||||
3. VALIDITY OF THE AGREEMENT
|
||||
|
||||
By installing, copying, or otherwise using the Licensed Software,
|
||||
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||
does not agree to the terms of this Agreement, Licensee may not install,
|
||||
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||
right to use the Licensed Software in the manner provided below.
|
||||
|
||||
|
||||
4. LICENSES
|
||||
|
||||
4.1. Using and Copying
|
||||
|
||||
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||
license to use and copy the Licensed Software for sole purpose of
|
||||
designing, developing and testing Applications, and evaluating and the
|
||||
Licensed Software during the Term.
|
||||
|
||||
Licensee may install copies of the Licensed Software on an unlimited
|
||||
number of computers provided that (a) if an individual, only such
|
||||
individual; or (b) if a legal entity only its employees; use the
|
||||
Licensed Software for the authorized purposes.
|
||||
|
||||
4.2 No Distribution or Modifications
|
||||
|
||||
Licensee may not disclose, modify, sell, market, commercialise,
|
||||
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||
copy of it or use the Licensed Software for any purpose that is not
|
||||
expressly granted in this Section 4. Licensee may not alter or remove
|
||||
any details of ownership, copyright, trademark or other property right
|
||||
connected with the Licensed Software. Licensee may not distribute any
|
||||
software statically or dynamically linked with the Licensed Software.
|
||||
|
||||
4.3 No Technical Support
|
||||
|
||||
Digia has no obligation to furnish Licensee with any technical support
|
||||
whatsoever. Any such support is subject to separate agreement between
|
||||
the Parties.
|
||||
|
||||
|
||||
5. PRE-RELEASE CODE
|
||||
|
||||
The Licensed Software contains pre-release code that is not at the level
|
||||
of performance and compatibility of a final, generally available,
|
||||
product offering. The Licensed Software may not operate correctly and
|
||||
may be substantially modified prior to the first commercial product
|
||||
release, if any. Digia is not obligated to make this or any later
|
||||
version of the Licensed Software commercially available. The License
|
||||
Software is "Not for Commercial Use" and may only be used for the
|
||||
purposes described in Section 4. The Licensed Software may not be used
|
||||
in a live operating environment where it may be relied upon to perform
|
||||
in the same manner as a commercially released product or with data that
|
||||
has not been sufficiently backed up.
|
||||
|
||||
6. THIRD PARTY SOFTWARE
|
||||
|
||||
The Licensed Software may provide links to third party libraries or code
|
||||
(collectively "Third Party Software") to implement various functions.
|
||||
Third Party Software does not comprise part of the Licensed Software. In
|
||||
some cases, access to Third Party Software may be included along with
|
||||
the Licensed Software delivery as a convenience for development and
|
||||
testing only. Such source code and libraries may be listed in the
|
||||
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||
documented in the Licensed Software where the Third Party Software is
|
||||
used, as may be amended from time to time, do not comprise the Licensed
|
||||
Software. Licensee acknowledges (1) that some part of Third Party
|
||||
Software may require additional licensing of copyright and patents from
|
||||
the owners of such, and (2) that distribution of any of the Licensed
|
||||
Software referencing any portion of a Third Party Software may require
|
||||
appropriate licensing from such third parties.
|
||||
|
||||
|
||||
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||
|
||||
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||
extent permitted by applicable law, Digia on behalf of itself and its
|
||||
suppliers, disclaims all warranties and conditions, either express or
|
||||
implied, including, but not limited to, implied warranties of
|
||||
merchantability, fitness for a particular purpose, title and
|
||||
non-infringement with regard to the Licensed Software.
|
||||
|
||||
|
||||
8. LIMITATION OF LIABILITY
|
||||
|
||||
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||
Licensee, whether in contract, tort or any other legal theory, based on
|
||||
the Licensed Software, Digia's entire liability to Licensee and
|
||||
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||
return of the price Licensee paid for the Licensed Software, or (B)
|
||||
repair or replacement of the Licensed Software, provided Licensee
|
||||
returns to Digia all copies of the Licensed Software as originally
|
||||
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||
to Licensee based on failure of the Licensed Software if the failure
|
||||
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||
any circumstances be liable for special damages, punitive or exemplary
|
||||
damages, damages for loss of profits or interruption of business or for
|
||||
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||
shall not exceed the total amount Licensee has paid to Digia in
|
||||
connection with this Agreement.
|
||||
|
||||
|
||||
9. CONFIDENTIALITY
|
||||
|
||||
Each party acknowledges that during the Term of this Agreement it shall
|
||||
have access to information about the other party's business, business
|
||||
methods, business plans, customers, business relations, technology, and
|
||||
other information, including the terms of this Agreement, that is
|
||||
confidential and of great value to the other party, and the value of
|
||||
which would be significantly reduced if disclosed to third parties (the
|
||||
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||
Party") receives Confidential Information from another party (the
|
||||
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||
employees and agents and employees and agents of its Affiliates to: (i)
|
||||
maintain the Confidential Information in strict confidence; (ii) not
|
||||
disclose the Confidential Information to a third party without the
|
||||
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||
indirectly, use the Confidential Information for any purpose other than
|
||||
for exercising its rights and fulfilling its responsibilities pursuant
|
||||
to this Agreement. Each party shall take reasonable measures to protect
|
||||
the Confidential Information of the other party, which measures shall
|
||||
not be less than the measures taken by such party to protect its own
|
||||
confidential and proprietary information.
|
||||
|
||||
"Confidential Information" shall not include information that (a) is or
|
||||
becomes generally known to the public through no act or omission of the
|
||||
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||
prior to the disclosure hereunder and was not subject to limitations on
|
||||
disclosure or use; (c) is developed by the Receiving Party without
|
||||
access to the Confidential Information of the Disclosing Party or by
|
||||
persons who have not had access to the Confidential Information of the
|
||||
Disclosing Party as proven by the written records of the Receiving
|
||||
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||
restrictions, by a third party not under an obligation of
|
||||
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||
disclose the information, in which case the Receiving Party shall assert
|
||||
the privileged and confidential nature of the information and cooperate
|
||||
fully with the Disclosing Party to protect against and prevent
|
||||
disclosure of any Confidential Information and to limit the scope of
|
||||
disclosure and the dissemination of disclosed Confidential Information
|
||||
by all legally available means.
|
||||
|
||||
The obligations of the Receiving Party under this Section shall continue
|
||||
during the Initial Term and for a period of five (5) years after
|
||||
expiration or termination of this Agreement. To the extent that the
|
||||
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||
conflict with the terms of this Section 9, this Section 9 shall be
|
||||
controlling over the terms of the Non-Disclosure Agreement.
|
||||
|
||||
|
||||
10. GENERAL PROVISIONS
|
||||
|
||||
10.1 No Assignment
|
||||
|
||||
Licensee shall not be entitled to assign or transfer all or any of its
|
||||
rights, benefits and obligations under this Agreement without the prior
|
||||
written consent of Digia, which shall not be unreasonably withheld.
|
||||
|
||||
10.2 Termination
|
||||
|
||||
Digia may terminate the Agreement at any time immediately upon written
|
||||
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||
|
||||
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||
copies of Licensed Software that were supplied by Digia. All other
|
||||
copies of Licensed Software in the possession or control of Licensee
|
||||
must be erased or destroyed. An officer of Licensee must promptly
|
||||
deliver to Digia a written confirmation that this has occurred.
|
||||
|
||||
10.3 Surviving Sections
|
||||
|
||||
Any terms and conditions that by their nature or otherwise reasonably
|
||||
should survive a cancellation or termination of this Agreement shall
|
||||
also be deemed to survive. Such terms and conditions include, but are
|
||||
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||
|
||||
10.4 Entire Agreement
|
||||
|
||||
This Agreement constitutes the complete agreement between the parties
|
||||
and supersedes all prior or contemporaneous discussions,
|
||||
representations, and proposals, written or oral, with respect to the
|
||||
subject matters discussed herein, with the exception of the
|
||||
non-disclosure agreement executed by the parties in connection with this
|
||||
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||
Section 9. No modification of this Agreement shall be effective unless
|
||||
contained in a writing executed by an authorized representative of each
|
||||
party. No term or condition contained in Licensee's purchase order shall
|
||||
apply unless expressly accepted by Digia in writing. If any provision of
|
||||
the Agreement is found void or unenforceable, the remainder shall remain
|
||||
valid and enforceable according to its terms. If any remedy provided is
|
||||
determined to have failed for its essential purpose, all limitations of
|
||||
liability and exclusions of damages set forth in this Agreement shall
|
||||
remain in effect.
|
||||
|
||||
10.5 Export Control
|
||||
|
||||
Licensee acknowledges that the Licensed Software may be subject to
|
||||
export control restrictions of various countries. Licensee shall fully
|
||||
comply with all applicable export license restrictions and requirements
|
||||
as well as with all laws and regulations relating to the importation of
|
||||
the Licensed Software and shall procure all necessary governmental
|
||||
authorizations, including without limitation, all necessary licenses,
|
||||
approvals, permissions or consents, where necessary for the
|
||||
re-exportation of the Licensed Software.,
|
||||
|
||||
10.6 Governing Law and Legal Venue
|
||||
|
||||
This Agreement shall be construed and interpreted in accordance with the
|
||||
laws of Finland, excluding its choice of law provisions. Any disputes
|
||||
arising out of or relating to this Agreement shall be resolved in
|
||||
arbitration under the Rules of Arbitration of the Chamber of Commerce of
|
||||
Helsinki, Finland. The arbitration tribunal shall consist of one (1), or
|
||||
if either Party so requires, of three (3), arbitrators. The award shall
|
||||
be final and binding and enforceable in any court of competent
|
||||
jurisdiction. The arbitration shall be held in Helsinki, Finland and the
|
||||
process shall be conducted in the English language.
|
||||
|
||||
10.7 No Implied License
|
||||
|
||||
There are no implied licenses or other implied rights granted under this
|
||||
Agreement, and all rights, save for those expressly granted hereunder,
|
||||
shall remain with Digia and its licensors. In addition, no licenses or
|
||||
immunities are granted to the combination of the Licensed Software with
|
||||
any other software or hardware not delivered by Digia under this
|
||||
Agreement.
|
||||
|
||||
10.8 Government End Users
|
||||
|
||||
A "U.S. Government End User" shall mean any agency or entity of the
|
||||
government of the United States. The following shall apply if Licensee
|
||||
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||
consisting of "commercial computer software" and "commercial computer
|
||||
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||
the Licensed Software with only those rights set forth herein. The
|
||||
Licensed Software (including related documentation) is provided to U.S.
|
||||
Government End Users: (a) only as a commercial end item; and (b) only
|
||||
pursuant to this Agreement.
|
||||
|
||||
|
||||
|
||||
|
||||
139
README
139
README
@@ -5,8 +5,22 @@ HOW TO BUILD QT5
|
||||
Synopsis
|
||||
========
|
||||
|
||||
See http://qt-project.org/wiki/Building_Qt_5_from_Git for instructions
|
||||
on building Qt 5.
|
||||
System requirements
|
||||
------------------
|
||||
|
||||
- Perl 5.8 or later
|
||||
- Python 2.7 or later
|
||||
- C++ compiler supporting the C++98 standard
|
||||
|
||||
For other platform specific requirements,
|
||||
please see section "Setting up your machine" on:
|
||||
http://wiki.qt.io/Get_The_Source
|
||||
|
||||
Optional requirements
|
||||
---------------------
|
||||
|
||||
- OpenSSL for SSL sockets or HTTPS
|
||||
- Wayland
|
||||
|
||||
New dependencies in Qt 5
|
||||
------------------------
|
||||
@@ -29,99 +43,28 @@ HOW TO BUILD QT5
|
||||
-----------
|
||||
|
||||
cd <path>/qt-everywhere-opensource-src-<version>
|
||||
export PATH=$PATH:$PWD/qtbase/bin
|
||||
./configure -prefix $PWD/qtbase -opensource -nomake tests
|
||||
./build -j 4
|
||||
make -j 4
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
Open a Windows SDK (7.0, 7.1 or later) command prompt. Ensure that Perl
|
||||
version 5.12 or later and Python version 2.7 or later can be found in the
|
||||
path.
|
||||
Open a Windows SDK (7.0, 7.1 or later) command prompt. Ensure that the
|
||||
following tools can be found in the path:
|
||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||
|
||||
cd <path>\qt-everywhere-opensource-src-<version>
|
||||
set PATH=%PATH%;%CD%\qtbase\bin;
|
||||
configure -prefix %CD%\qtbase -opensource -nomake tests
|
||||
perl build
|
||||
nmake // jom // mingw32-make
|
||||
|
||||
For MinGW (gcc version 4.6 or later), ensure that the compiler can
|
||||
be found in the path.
|
||||
|
||||
The build script will use jom if it's found in the path, which means you can
|
||||
use -j <n> options on Windows as well. If not, the /MP option is added to the
|
||||
compile options of the Microsoft Visual Studio compiler, to use all available
|
||||
cores for batch building.
|
||||
To accelerate the bootstrap of qmake with MSVC, it may be useful to pass
|
||||
"-make-tool jom" on the configure command line. If you do not use jom,
|
||||
adding "/MP" to the CL environment variable is a good idea.
|
||||
|
||||
More details follow.
|
||||
|
||||
Building QtWebKit
|
||||
=================
|
||||
|
||||
Linux, Mac:
|
||||
-----------
|
||||
|
||||
The tools bison, flex and gperf which are required for building.
|
||||
|
||||
cd qtwebkit
|
||||
export WEBKITOUTPUTDIR=$$PWD/WebKitBuild
|
||||
perl Tools/Scripts/build-webkit --qt --qmake=../qtbase/bin/qmake --install-libs=<install dir> --release --makeargs=$MAKEFLAGS
|
||||
|
||||
Windows:
|
||||
--------
|
||||
|
||||
The tools bison, flex and gperf which are required for building are
|
||||
provided for convenience in the folder gnuwin32\bin.
|
||||
|
||||
set PATH=%PATH%;%CD%\gnuwin32\bin
|
||||
cd qtwebkit
|
||||
set WEBKITOUTPUTDIR=%CD%/WebKitBuild
|
||||
perl Tools\Scripts\build-webkit --qt --qmake=..\qtbase\bin\qmake.exe --install-libs=<install dir> --release --makeargs=%MAKEFLAGS%
|
||||
|
||||
Get The Submodules
|
||||
==================
|
||||
|
||||
Obtaining the source code is described in detail at
|
||||
http://wiki.qt-project.org/Main_Page and
|
||||
http://qt-project.org/wiki/Get_The_Source.
|
||||
|
||||
Cloning Qt5 does not automatically clone all submodules.
|
||||
To get the submodules, it is recommended to use the `init-repository' script.
|
||||
|
||||
./init-repository
|
||||
|
||||
See `./init-repository -help' for full documentation on the many supported
|
||||
options.
|
||||
|
||||
|
||||
Update The Submodules (optional)
|
||||
================================
|
||||
|
||||
After a plain `git clone' and `init-repository', you will have each submodule
|
||||
checked out to a particular SHA1. This combination of SHA1s is guaranteed to
|
||||
have passed some basic acceptance testing.
|
||||
|
||||
If (and only if!) you need newer versions of some submodules, you can manually
|
||||
fetch and/or pull and/or reset any modules you like, or use the qt5_tool to
|
||||
pull all modules:
|
||||
|
||||
./qtrepotools/bin/qt5_tool -p
|
||||
|
||||
NOTE! As soon as you change the SHA1 of any submodule, you are using a
|
||||
combination of modules which is potentially untested and broken! If you want
|
||||
something which is more likely to compile, stick to the module SHA1s provided
|
||||
in this repository.
|
||||
|
||||
|
||||
Install The Git Grafts (optional)
|
||||
=================================
|
||||
|
||||
If you want to be able to connect the Qt5 and Qt4 development history, you
|
||||
may set up git grafts with the following command:
|
||||
|
||||
git submodule foreach '../qtrepotools/bin/git-qt-grafts <path_to_history>'
|
||||
|
||||
|
||||
Build!
|
||||
======
|
||||
|
||||
@@ -166,12 +109,36 @@ HOW TO BUILD QT5
|
||||
Hints
|
||||
=====
|
||||
|
||||
Shadow builds are possible, but not as well tested/supported as in-source
|
||||
builds.
|
||||
|
||||
The submodule repository qtrepotools contains useful scripts for
|
||||
developers and release engineers. Consider adding qtrepotools/bin
|
||||
to your PATH environment variable to access them.
|
||||
|
||||
The qt5_tool in qtrepotools has some more features which may be of interest.
|
||||
Try `qt5_tool --help'.
|
||||
|
||||
|
||||
Building Qt5 from git
|
||||
=====================
|
||||
See http://wiki.qt.io/Building_Qt_5_from_Git and README.git
|
||||
for more information.
|
||||
See http://wiki.qt.io/Qt_5 for the reference platforms.
|
||||
|
||||
|
||||
Documentation
|
||||
=============
|
||||
|
||||
After configuring and compiling Qt, building the documentation is possible by running
|
||||
"make docs".
|
||||
|
||||
After having built the documentation, you need to install it with the following
|
||||
command:
|
||||
|
||||
make install_docs
|
||||
|
||||
The documentation is installed in the path set to $QT_INSTALL_DOCS.
|
||||
Running "qmake -query" will list the value of QT_INSTALL_DOCS.
|
||||
|
||||
Information about Qt 5's documentation is located in qtbase/doc/README
|
||||
or in the following page: http://wiki.qt.io/Qt5DocumentationProject
|
||||
|
||||
Note: Building the documentation is only tested on desktop platforms.
|
||||
|
||||
55
README.git
Normal file
55
README.git
Normal file
@@ -0,0 +1,55 @@
|
||||
OBTAINING QT5 FROM GIT
|
||||
======================
|
||||
|
||||
Synopsis
|
||||
========
|
||||
|
||||
For a more in-depth description on how to build Qt5 from git,
|
||||
please see: http://wiki.qt.io/Building_Qt_5_from_Git
|
||||
|
||||
|
||||
Get The Submodules
|
||||
==================
|
||||
|
||||
Cloning Qt5 does not automatically clone all submodules.
|
||||
To get the submodules, it is recommended to use the `init-repository' script.
|
||||
|
||||
./init-repository
|
||||
|
||||
See `./init-repository -help' for full documentation on the many supported
|
||||
options.
|
||||
|
||||
|
||||
Update The Submodules (optional)
|
||||
================================
|
||||
|
||||
After a plain `git clone' and `init-repository', you will have each submodule
|
||||
checked out to a particular SHA1. This combination of SHA1s is guaranteed to
|
||||
have passed some basic acceptance testing.
|
||||
|
||||
If (and only if!) you need newer versions of some submodules, you can manually
|
||||
fetch and/or pull and/or reset any modules you like, or use the qt5_tool to
|
||||
pull all modules:
|
||||
|
||||
./qtrepotools/bin/qt5_tool -p
|
||||
|
||||
NOTE! As soon as you change the SHA1 of any submodule, you are using a
|
||||
combination of modules which is potentially untested and broken! If you want
|
||||
something which is more likely to compile, stick to the module SHA1s provided
|
||||
in this repository.
|
||||
|
||||
|
||||
Install The Git Grafts (optional)
|
||||
=================================
|
||||
|
||||
If you want to be able to connect the Qt5 and Qt4 development history, you
|
||||
may set up git grafts with the following command:
|
||||
|
||||
git submodule foreach '../qtrepotools/bin/git-qt-grafts <path_to_history>'
|
||||
|
||||
|
||||
Developing and Contributing to Qt
|
||||
================================
|
||||
|
||||
For more information on how to develop and contribute to Qt, please see:
|
||||
http://wiki.qt.io/Category:Developing_Qt
|
||||
447
build
447
build
@@ -1,447 +0,0 @@
|
||||
#!/usr/bin/perl
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## Contact: http://www.qt-project.org/
|
||||
##
|
||||
## This file is part of the utilities of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## GNU Lesser General Public License Usage
|
||||
## This file may be used under the terms of the GNU Lesser General Public
|
||||
## License version 2.1 as published by the Free Software Foundation and
|
||||
## appearing in the file LICENSE.LGPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU Lesser
|
||||
## General Public License version 2.1 requirements will be met:
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU General
|
||||
## Public License version 3.0 as published by the Free Software Foundation
|
||||
## and appearing in the file LICENSE.GPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU General
|
||||
## Public License version 3.0 requirements will be met:
|
||||
## http://www.gnu.org/copyleft/gpl.html.
|
||||
##
|
||||
## Other Usage
|
||||
## Alternatively, this file may be used in accordance with the terms and
|
||||
## conditions contained in a signed written agreement between you and Nokia.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
use v5.008;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
package Qt::Build;
|
||||
|
||||
use Carp qw( confess );
|
||||
use English qw( -no_match_vars );
|
||||
use Getopt::Long qw( GetOptionsFromArray );
|
||||
use Pod::Usage qw( pod2usage );
|
||||
use Cwd qw( getcwd );
|
||||
use File::Spec qw( path catfile );
|
||||
use Config;
|
||||
|
||||
# Like `system', but possibly log the command, and die on non-zero exit code
|
||||
sub exe
|
||||
{
|
||||
my ($self, @cmd) = @_;
|
||||
|
||||
print "+ @cmd\n" unless ($self->{quiet});
|
||||
|
||||
if (system(@cmd) != 0) {
|
||||
confess "@cmd exited with status $CHILD_ERROR";
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub dropPrivileges()
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
if ($> == 0) { # EUID == 0: must drop if possible
|
||||
local $! = undef;
|
||||
if ($< != 0) { # UID != 0 (run through setuid). swap UID with EUID
|
||||
($(, $)) = ($), $();
|
||||
die "Cannot lower gid privileges: $!" if $!;
|
||||
($<, $>) = ($>, $<);
|
||||
die "Cannot lower uid privileges: $!" if $!;
|
||||
} else { # UID == 0: run through sudo?
|
||||
if (defined $ENV{SUDO_GID}) {
|
||||
$) = "$ENV{SUDO_GID} $ENV{SUDO_GID}";
|
||||
die "Cannot lower gid privileges: $!" if $!;
|
||||
}
|
||||
if (defined $ENV{SUDO_UID}) {
|
||||
$> = $ENV{SUDO_UID};
|
||||
die "Cannot lower uid privileges: $!" if $!;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub exeHighPriv()
|
||||
{
|
||||
my ($self, @cmd) = @_;
|
||||
return $self->exe(@cmd);
|
||||
}
|
||||
|
||||
sub exeLowPriv()
|
||||
{
|
||||
my ($self, @cmd) = @_;
|
||||
|
||||
if ("$Config{osname}" =~ /mswin/i) {
|
||||
# Just like exeHighPriv for now
|
||||
return $self->exe(@cmd);
|
||||
} else {
|
||||
my $ret;
|
||||
my $pid = fork();
|
||||
die "Couldn't fork" unless defined $pid;
|
||||
if ($pid == 0) {
|
||||
$self->dropPrivileges;
|
||||
$self->exe(@cmd);
|
||||
exit 0;
|
||||
} else {
|
||||
waitpid($pid, 0);
|
||||
return $?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub new
|
||||
{
|
||||
my ($class, @arguments) = @_;
|
||||
|
||||
my $self = {};
|
||||
bless $self, $class;
|
||||
|
||||
$self->parse_arguments(@arguments);
|
||||
$self->detect_configuration;
|
||||
|
||||
my $depfile = "build.dependencies";
|
||||
my $result;
|
||||
our (%build_dependencies, %build_commands, %install_commands, @nondefault_modules);
|
||||
|
||||
# following variables may be expanded in the evaluation below
|
||||
my $MAKEOPTS = $self->{'MAKEOPTS'};
|
||||
my $MAKE = $self->{'MAKE'};
|
||||
|
||||
unless ($result = do $depfile) {
|
||||
die "build couldn't parse $depfile: $@" if $@;
|
||||
die "build couldn't execute $depfile: $!" unless defined $result;
|
||||
}
|
||||
|
||||
$self->{'deps'} = \%build_dependencies;
|
||||
$self->{'buildcmds'} = \%build_commands;
|
||||
$self->{'instcmds'} = \%install_commands;
|
||||
$self->{'nondefault'} = \@nondefault_modules;
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
sub parse_arguments
|
||||
{
|
||||
my ($self, @args) = @_;
|
||||
|
||||
%{$self} = (%{$self},
|
||||
'verbose' => 0,
|
||||
'continue' => 0,
|
||||
'jobs' => -1,
|
||||
'force_qmake' => 0,
|
||||
'build-submodules' => [],
|
||||
);
|
||||
|
||||
GetOptionsFromArray(\@args,
|
||||
'verbose|v:1' => \$self->{'verbose'},
|
||||
'continue' => \$self->{'continue'},
|
||||
'jobs|j:1' => \$self->{'jobs'},
|
||||
'force-qmake' => \$self->{'force_qmake'},
|
||||
'help|?' => sub { pod2usage(1); },
|
||||
) || pod2usage(2);
|
||||
|
||||
push(@{$self->{'build-submodules'}}, @args) if (@args);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sub which {
|
||||
my ($self, $exe) = @_;
|
||||
|
||||
foreach my $path (File::Spec->path()) {
|
||||
my $file = File::Spec->catfile($path, $exe);
|
||||
return $file if -x $file;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
sub detect_configuration
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
die "You need to configure Qt before you try to build it, aborting." if (!-e 'qtbase/.qmake.cache');
|
||||
|
||||
use Cwd qw(abs_path);
|
||||
use Env qw(@PATH);
|
||||
|
||||
my $abs_path = abs_path('qtbase/bin');
|
||||
unshift @PATH, $abs_path;
|
||||
|
||||
if ($self->{'jobs'} >= 0) {
|
||||
$self->{'MAKEOPTS'} = "-j $self->{'jobs'}";
|
||||
} else {
|
||||
$self->{'MAKEOPTS'} = "";
|
||||
}
|
||||
$self->{'MAKE'} = $ENV{MAKE} || "make";
|
||||
|
||||
if ("$Config{osname}" =~ /mswin/i) {
|
||||
my $exe = $self->which("nmake.exe");
|
||||
$exe = $self->which("jom.exe") if (defined $exe && $self->which("jom.exe"));
|
||||
$exe = $self->which("mingw32-make.exe") if (!defined $exe);
|
||||
|
||||
# Use the /MP compiler option, if using nmake, to use all CPU threads when compiling
|
||||
if ($exe =~ 'nmake') {
|
||||
use Env qw(@CL);
|
||||
unshift @CL, '/MP';
|
||||
}
|
||||
|
||||
$self->{'MAKE'} = "\"$exe\"" if (defined $exe);
|
||||
$self->{'MAKEOPTS'} = "" if (defined $exe && $exe =~ /nmake/);
|
||||
|
||||
# Tools needed for building QtWebKit/Windows (Bison, Flex, gperf, iconv)
|
||||
my $abs_path = abs_path('gnuwin32/bin');
|
||||
unshift @PATH, "$abs_path";
|
||||
}
|
||||
}
|
||||
|
||||
sub find_pro_file
|
||||
{
|
||||
my ($self, $dir) = @_;
|
||||
my $D;
|
||||
if (opendir($D,$dir)) {
|
||||
($dir =~ /\/$/) || ($dir .= "/");
|
||||
foreach my $file (sort readdir($D)) {
|
||||
if ($file =~ /^.*\.pro$/) {
|
||||
closedir($D);
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
closedir($D);
|
||||
}
|
||||
}
|
||||
|
||||
sub eliminate_empty_modules
|
||||
{
|
||||
my ($self) = @_;
|
||||
foreach my $repo (keys(%{$self->{'deps'}})) {
|
||||
if (!$self->find_pro_file($repo)) {
|
||||
printf "Missing module %s, ignored\n", $repo;
|
||||
delete $self->{'deps'}->{$repo};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub check_build_module
|
||||
{
|
||||
my ($self, $module) = @_;
|
||||
my @missing_link;
|
||||
foreach my $submod (split(/,/, $self->{'deps'}->{$module})) {
|
||||
next if ($submod =~ /:s$/); # Soft dependency
|
||||
if (defined $self->{'deps'}->{$submod}) {
|
||||
push(@missing_link, $self->check_build_module($submod));
|
||||
} else {
|
||||
push(@missing_link, $submod);
|
||||
}
|
||||
}
|
||||
return @missing_link;
|
||||
}
|
||||
|
||||
sub check_build_modules
|
||||
{
|
||||
my ($self, $fail) = @_;
|
||||
my $letsdie = 0;
|
||||
foreach my $module (@{$self->{'build-submodules'}}) {
|
||||
if (defined $self->{'deps'}->{$module}) {
|
||||
my @missing_link = $self->check_build_module($module);
|
||||
if (scalar @missing_link) {
|
||||
$letsdie = 1;
|
||||
my $mods = join(", ", @missing_link);
|
||||
print STDERR "Ignoring module '$module': requires $mods\n";
|
||||
}
|
||||
} else {
|
||||
print STDERR "No module named '$module'\n";
|
||||
$letsdie = 1;
|
||||
}
|
||||
}
|
||||
die "FAIL: Missing module dependencies, build aborted." if ($letsdie && $fail);
|
||||
}
|
||||
|
||||
sub resolve_soft_dependencies
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
my @nondefault = @{$self->{'nondefault'}};
|
||||
foreach my $module (keys(%{$self->{'deps'}})) {
|
||||
my @deps = split(/,/, $self->{'deps'}->{$module});
|
||||
my @newdeps;
|
||||
foreach my $dep (@deps) {
|
||||
if ($dep =~ /(.*):s$/) {
|
||||
my $mod = $1;
|
||||
if (defined $self->{'deps'}->{$mod}
|
||||
&& !grep {$_ eq $mod} @nondefault) {
|
||||
push(@newdeps, $mod);
|
||||
}
|
||||
} else {
|
||||
push(@newdeps, $dep);
|
||||
}
|
||||
}
|
||||
$self->{'deps'}->{$module} = join(",", @newdeps);
|
||||
}
|
||||
}
|
||||
|
||||
sub mark_as_finished
|
||||
{
|
||||
my ($self, $doneModule) = @_;
|
||||
|
||||
delete $self->{'deps'}->{$doneModule};
|
||||
foreach my $module (keys(%{$self->{'deps'}})) {
|
||||
my @deps = split(/,/, $self->{'deps'}->{$module});
|
||||
@deps = grep { $_ !~ /$doneModule/ } @deps;
|
||||
$self->{'deps'}->{$module} = join(",", @deps);
|
||||
}
|
||||
}
|
||||
|
||||
sub get_next_modules
|
||||
{
|
||||
my ($self, $module) = @_;
|
||||
|
||||
my @nextModules;
|
||||
my $deps = $self->{'deps'}->{$module};
|
||||
return if (!defined $deps);
|
||||
$self->{'seenHash'}->{$module}++;
|
||||
if ($deps eq '') {
|
||||
push (@nextModules, $module);
|
||||
return @nextModules;
|
||||
}
|
||||
|
||||
foreach my $dep (split(/,/, $deps)) {
|
||||
push (@nextModules, $self->get_next_modules($dep)) unless $self->{'seenHash'}->{$dep};
|
||||
}
|
||||
|
||||
return @nextModules;
|
||||
}
|
||||
|
||||
sub get_all_next_modules
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
$self->{'seenHash'} = ();
|
||||
|
||||
my @nextModules;
|
||||
foreach my $module (@{$self->{'build-submodules'}}) {
|
||||
my @mods = $self->get_next_modules($module);
|
||||
push(@nextModules, @mods);
|
||||
}
|
||||
|
||||
my %seen = ();
|
||||
my @uniqModules;
|
||||
foreach my $item (@nextModules) {
|
||||
push(@uniqModules, $item) unless $seen{$item}++;
|
||||
}
|
||||
|
||||
return @uniqModules;
|
||||
}
|
||||
|
||||
sub build_project
|
||||
{
|
||||
my ($self, $module) = @_;
|
||||
my $build_command = $self->{'buildcmds'}->{$module};
|
||||
my $install_command = $self->{'instcmds'}->{$module};
|
||||
if (!defined $build_command) {
|
||||
if (!-e "$module/Makefile") {
|
||||
$self->exeLowPriv("cd $module && qmake -r") && die "'cd $module && $build_command' failed: $?";
|
||||
}
|
||||
$build_command = "$self->{MAKE} $self->{MAKEOPTS}" if (!defined $build_command);
|
||||
}
|
||||
$self->exeLowPriv("cd $module && $build_command") && die "'cd $module && $build_command' failed: $?";
|
||||
$install_command = "$self->{MAKE} install" if (!defined $install_command);
|
||||
### TODO: Should be fixed after the alpha
|
||||
unless ("$Config{osname}" =~ /(dar|ms)win/i) {
|
||||
$self->exeHighPriv("cd $module && $install_command") && die "'cd $module && $install_command failed: $?";
|
||||
}
|
||||
$self->mark_as_finished($module);
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub build_qt
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
printf "OS Name ........ %s\n", $Config{osname};
|
||||
printf "Verbose ........ %s\n", ($self->{'verbose'} ? $self->{'verbose'} : "no");
|
||||
printf "Continue ....... %s\n", ($self->{'continue'} ? "yes" : "no");
|
||||
printf "Force qmake..... %s\n", ($self->{'force_qmake'} ? "yes" : "no");
|
||||
printf "Jobs ........... %s\n", ($self->{'jobs'} >= 0 ? $self->{'jobs'} : "unset");
|
||||
|
||||
my $path = $ENV{'PATH'};
|
||||
print "PATH $path\n";
|
||||
|
||||
print "Modules to build:\n";
|
||||
my $mods = "(all present)";
|
||||
$mods = join(", ", @{$self->{'build-submodules'}}) if (@{$self->{'build-submodules'}});
|
||||
print " $mods\n";
|
||||
|
||||
while (my @modules = $self->get_all_next_modules) {
|
||||
foreach my $module (@modules) {
|
||||
print "build $module...\n";
|
||||
$self->build_project($module);
|
||||
}
|
||||
}
|
||||
|
||||
print "build done!\n";
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub run
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
$self->eliminate_empty_modules;
|
||||
|
||||
if (scalar @{$self->{'build-submodules'}} > 0) {
|
||||
$self->check_build_modules(1);
|
||||
} else {
|
||||
my @default = keys(%{$self->{'deps'}});
|
||||
my @nondefault = @{$self->{'nondefault'}};
|
||||
foreach my $item (@nondefault) {
|
||||
@default = grep { $_ ne $item } @default;
|
||||
}
|
||||
push(@{$self->{'build-submodules'}}, @default);
|
||||
$self->check_build_modules(0);
|
||||
}
|
||||
|
||||
$self->resolve_soft_dependencies;
|
||||
|
||||
$self->build_qt;
|
||||
|
||||
# print Dumper($self);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#==============================================================================
|
||||
|
||||
Qt::Build->new(@ARGV)->run if (!caller);
|
||||
1;
|
||||
@@ -1,66 +0,0 @@
|
||||
# Platform independent modules
|
||||
|
||||
# Dependencies separated with comma ','
|
||||
# Dependencies with ':s' appended indicate soft dependencies, which
|
||||
# means that they are a dependency if the module is present, if not
|
||||
# they are ignored.
|
||||
|
||||
use Config;
|
||||
%build_dependencies = (
|
||||
"qlalr" => "qtbase",
|
||||
"qt3d" => "qtbase,qtdeclarative",
|
||||
"qtbase" => "",
|
||||
"qtconnectivity" => "qtsystems",
|
||||
"qtdeclarative" => "qtbase,qtxmlpatterns,qtjsbackend,qtsvg:s",
|
||||
"qtdoc" => "qtbase,qtdeclarative",
|
||||
"qtdocgallery" => "qtbase,qtscript,qtdeclarative,qtjsondb:s",
|
||||
"qtfeedback" => "qtbase,qtmultimedia,qtdeclarative",
|
||||
"qtgraphicaleffects" => "qtbase,qtdeclarative,qtsvg,qtxmlpatterns",
|
||||
"qtimageformats" => "qtbase",
|
||||
"qtjsbackend" => "qtbase",
|
||||
"qtjsondb" => "qtbase,qtdeclarative,qtxmlpatterns",
|
||||
"qtlocation" => "qtbase,qtdeclarative,qt3d,qtjsondb:s",
|
||||
"qtmultimedia" => "qtbase,qtdeclarative",
|
||||
"qtphonon" => "qtbase",
|
||||
"qtpim" => "qtdeclarative,qtjsondb:s",
|
||||
"qtqa" => "qtbase",
|
||||
"qtquick1" => "qtbase,qtscript,qtxmlpatterns,qtsvg:s",
|
||||
"qtscript" => "qtbase",
|
||||
"qtsensors" => "qtbase,qtdeclarative",
|
||||
"qtsvg" => "qtbase",
|
||||
"qtsystems" => "qtbase,qtdeclarative,qtjsondb:s",
|
||||
"qttools" => "qtbase,qtscript,qtdeclarative,qtquick1,qtwebkit:s",
|
||||
"qttranslations" => "qttools",
|
||||
"qtwebkit" => "qtbase,qtscript,qtdeclarative,qtquick1,qtlocation",
|
||||
"qtwebkit-examples-and-demos" => "qtwebkit",
|
||||
"qtxmlpatterns" => "qtbase",
|
||||
);
|
||||
|
||||
@nondefault_modules = (
|
||||
"qtwayland",
|
||||
);
|
||||
|
||||
if ("$Config{osname}" =~ /mswin/i) {
|
||||
%build_commands = (
|
||||
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --no-netscape-plugin --no-webkit2",
|
||||
);
|
||||
push @nondefault_modules, ("qtwebkit", "qtwebkit-examples-and-demos");
|
||||
} else {
|
||||
%build_commands = (
|
||||
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --release --no-netscape-plugin",
|
||||
);
|
||||
}
|
||||
|
||||
%install_commands = (
|
||||
"qtwebkit" => "perl Tools/Scripts/build-webkit --qt --makeargs=\"install\"",
|
||||
);
|
||||
|
||||
# Platform specific modules
|
||||
|
||||
if ("$Config{osname}" =~ /linux/i) {
|
||||
$build_dependencies{"qtwayland"} = "qtbase,qtdeclarative";
|
||||
}
|
||||
|
||||
if ("$Config{osname}" =~ /(ms|cyg)win/i) {
|
||||
$build_dependencies{"qtactiveqt"} = "qtbase";
|
||||
}
|
||||
132
configure
vendored
132
configure
vendored
@@ -1,113 +1,57 @@
|
||||
#!/usr/bin/perl
|
||||
#! /bin/sh
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## Contact: http://www.qt-project.org/
|
||||
## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
|
||||
## Contact: http://www.qt-project.org/legal
|
||||
##
|
||||
## This file is part of the build tools of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## GNU Lesser General Public License Usage
|
||||
## This file may be used under the terms of the GNU Lesser General Public
|
||||
## License version 2.1 as published by the Free Software Foundation and
|
||||
## appearing in the file LICENSE.LGPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU Lesser
|
||||
## General Public License version 2.1 requirements will be met:
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and Digia. For licensing terms and
|
||||
## conditions see http://qt.digia.com/licensing. For further information
|
||||
## use the contact form at http://qt.digia.com/contact-us.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Digia gives you certain additional
|
||||
## rights. These rights are described in the Digia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU General
|
||||
## Public License version 3.0 as published by the Free Software Foundation
|
||||
## and appearing in the file LICENSE.GPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU General
|
||||
## Public License version 3.0 requirements will be met:
|
||||
## http://www.gnu.org/copyleft/gpl.html.
|
||||
##
|
||||
## Other Usage
|
||||
## Alternatively, this file may be used in accordance with the terms and
|
||||
## conditions contained in a signed written agreement between you and Nokia.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## Alternatively, this file may be used under the terms of the GNU
|
||||
## General Public License version 3.0 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.GPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU General Public License version 3.0 requirements will be
|
||||
## met: http://www.gnu.org/copyleft/gpl.html.
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
##
|
||||
#############################################################################
|
||||
|
||||
####################################################################################################
|
||||
#
|
||||
# Mother script for Qt Modularization
|
||||
#
|
||||
####################################################################################################
|
||||
srcpath=`dirname $0`
|
||||
srcpath=`(cd "$srcpath"; /bin/pwd)`
|
||||
configure=$srcpath/qtbase/configure
|
||||
if [ ! -e "$configure" ]; then
|
||||
echo "$configure not found. Did you forget to run \"init-repository\"?" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
mkdir -p qtbase || exit
|
||||
|
||||
use File::Basename;
|
||||
use File::Path;
|
||||
use Cwd;
|
||||
use Cwd 'abs_path';
|
||||
use Config;
|
||||
echo "+ cd qtbase"
|
||||
cd qtbase || exit
|
||||
|
||||
# Makes sure the arguments are directories, and creates them if not.
|
||||
# Will die if there is an error.
|
||||
sub ensureDir {
|
||||
foreach (@_) {
|
||||
if (-e $_) {
|
||||
if (-d $_) {
|
||||
next;
|
||||
} else {
|
||||
die ("$_ exists, but is not a directory");
|
||||
}
|
||||
}
|
||||
File::Path::mkpath($_) or die("Could not create $_");
|
||||
}
|
||||
}
|
||||
|
||||
# `system', but also print the command
|
||||
sub system_v
|
||||
{
|
||||
print "+ ";
|
||||
print @_;
|
||||
print "\n";
|
||||
return system(@_);
|
||||
}
|
||||
|
||||
my $relpath = dirname(abs_path($0));
|
||||
$relpath =~ s,\\,/,g;
|
||||
# the current directory is the "build tree" or "object tree"
|
||||
my $outpath = getcwd();
|
||||
|
||||
if (! -e "$relpath/qtbase/configure") {
|
||||
die("$relpath/qtbase/configure not found. Did you forget to run \"init-repository\"?");
|
||||
}
|
||||
|
||||
ensureDir("$outpath/qtbase");
|
||||
chdir("$outpath/qtbase");
|
||||
if (-e ".qmake.cache") {
|
||||
# Remove this so we can detect if configure finished properly
|
||||
unlink ".qmake.cache";
|
||||
}
|
||||
my $ret = system_v("$relpath/qtbase/configure @ARGV");
|
||||
exit ($ret>>8) unless ($ret == 0);
|
||||
if (! -e ".qmake.cache") {
|
||||
# Even though there was no error code, this file wasn't created
|
||||
# so configure didn't finish properly. This is probably because
|
||||
# the user passed -help
|
||||
exit 0;
|
||||
}
|
||||
|
||||
chdir("$outpath");
|
||||
|
||||
open QMAKE_CACHE, ">.qmake.cache" || die "Could not open .qmake.cache for writing!\n";
|
||||
print QMAKE_CACHE "include(\$\$PWD/qtbase/.qmake.cache)\n";
|
||||
close QMAKE_CACHE;
|
||||
|
||||
$ret = system_v("$outpath/qtbase/bin/qmake $relpath/qt.pro");
|
||||
exit ($ret>>8);
|
||||
echo "+ $configure -top-level $@"
|
||||
exec "$configure" -top-level "$@"
|
||||
|
||||
@@ -1,42 +1,61 @@
|
||||
@echo off
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
::
|
||||
:: Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
||||
:: Contact: http://www.qt-project.org/
|
||||
:: Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
|
||||
:: Contact: http://www.qt-project.org/legal
|
||||
::
|
||||
:: This file is part of the tools applications of the Qt Toolkit.
|
||||
::
|
||||
:: $QT_BEGIN_LICENSE:LGPL$
|
||||
:: GNU Lesser General Public License Usage
|
||||
:: This file may be used under the terms of the GNU Lesser General Public
|
||||
:: License version 2.1 as published by the Free Software Foundation and
|
||||
:: appearing in the file LICENSE.LGPL included in the packaging of this
|
||||
:: file. Please review the following information to ensure the GNU Lesser
|
||||
:: General Public License version 2.1 requirements will be met:
|
||||
:: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
:: Commercial License Usage
|
||||
:: Licensees holding valid commercial Qt licenses may use this file in
|
||||
:: accordance with the commercial license agreement provided with the
|
||||
:: Software or, alternatively, in accordance with the terms contained in
|
||||
:: a written agreement between you and Digia. For licensing terms and
|
||||
:: conditions see http://qt.digia.com/licensing. For further information
|
||||
:: use the contact form at http://qt.digia.com/contact-us.
|
||||
::
|
||||
:: In addition, as a special exception, Nokia gives you certain additional
|
||||
:: rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
:: GNU Lesser General Public License Usage
|
||||
:: Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
:: General Public License version 2.1 as published by the Free Software
|
||||
:: Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
:: packaging of this file. Please review the following information to
|
||||
:: ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
:: will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
::
|
||||
:: In addition, as a special exception, Digia gives you certain additional
|
||||
:: rights. These rights are described in the Digia Qt LGPL Exception
|
||||
:: version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
::
|
||||
:: GNU General Public License Usage
|
||||
:: Alternatively, this file may be used under the terms of the GNU General
|
||||
:: Public License version 3.0 as published by the Free Software Foundation
|
||||
:: and appearing in the file LICENSE.GPL included in the packaging of this
|
||||
:: file. Please review the following information to ensure the GNU General
|
||||
:: Public License version 3.0 requirements will be met:
|
||||
:: http://www.gnu.org/copyleft/gpl.html.
|
||||
::
|
||||
:: Other Usage
|
||||
:: Alternatively, this file may be used in accordance with the terms and
|
||||
:: conditions contained in a signed written agreement between you and Nokia.
|
||||
::
|
||||
::
|
||||
::
|
||||
::
|
||||
:: Alternatively, this file may be used under the terms of the GNU
|
||||
:: General Public License version 3.0 as published by the Free Software
|
||||
:: Foundation and appearing in the file LICENSE.GPL included in the
|
||||
:: packaging of this file. Please review the following information to
|
||||
:: ensure the GNU General Public License version 3.0 requirements will be
|
||||
:: met: http://www.gnu.org/copyleft/gpl.html.
|
||||
::
|
||||
::
|
||||
:: $QT_END_LICENSE$
|
||||
::
|
||||
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
@rem ***** This assumes PERL is in the PATH *****
|
||||
@perl.exe %~dp0configure %*
|
||||
|
||||
set "srcpath=%~dp0"
|
||||
set "configure=%srcpath%qtbase\configure.bat"
|
||||
if not exist "%configure%" (
|
||||
echo %configure% not found. Did you forget to run "init-repository"? >&2
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist qtbase mkdir qtbase || exit /b 1
|
||||
|
||||
echo + cd qtbase
|
||||
cd qtbase || exit /b 1
|
||||
|
||||
echo + %configure% -top-level %*
|
||||
call %configure% -top-level %*
|
||||
set err=%errorlevel%
|
||||
|
||||
cd ..
|
||||
|
||||
exit /b %err%
|
||||
|
||||
9
gnuwin32/README
Normal file
9
gnuwin32/README
Normal file
@@ -0,0 +1,9 @@
|
||||
This directory contains the Windows binaries of various tools such as bison
|
||||
from the GnuWin32 project (http://gnuwin32.sourceforge.net/). We've put them
|
||||
here for your convenience, as they are needed to build projects such as
|
||||
QtWebKit.
|
||||
|
||||
Aside from GnuWin32 binaries this directory also contains a distribution of Win
|
||||
flex-bison project (http://sourceforge.net/projects/winflexbison/), which provides
|
||||
much newer ports of Flex and Bison than what GnuWin32 provides.
|
||||
|
||||
BIN
gnuwin32/bin/win_flex.exe
Normal file
BIN
gnuwin32/bin/win_flex.exe
Normal file
Binary file not shown.
47
gnuwin32/patches/win_flex.patch
Normal file
47
gnuwin32/patches/win_flex.patch
Normal file
@@ -0,0 +1,47 @@
|
||||
Index: flex/src/main.c
|
||||
===================================================================
|
||||
--- flex/src/main.c (revision 24)
|
||||
+++ flex/src/main.c (working copy)
|
||||
@@ -112,7 +112,7 @@
|
||||
struct yytbl_writer tableswr;
|
||||
|
||||
int prev_stdout = 0;
|
||||
-char *flex_temp_out_main="~flex_temp_out_main";
|
||||
+char *flex_temp_out_main = 0;
|
||||
|
||||
/* Make sure program_name is initialized so we don't crash if writing
|
||||
* out an error message before getting the program name from argv[0].
|
||||
@@ -767,6 +767,8 @@
|
||||
tblsiz);
|
||||
}
|
||||
|
||||
+ free (flex_temp_out_main);
|
||||
+ flex_temp_out_main = 0;
|
||||
exit (exit_status);
|
||||
}
|
||||
|
||||
@@ -779,8 +781,10 @@
|
||||
{
|
||||
int i, sawcmpflag, rv, optind;
|
||||
char *arg;
|
||||
+ char flex_temp_out_main_template[] = "~flex_temp_out_main_XXXXXX";
|
||||
scanopt_t sopt;
|
||||
|
||||
+ flex_temp_out_main = _strdup(_mktemp(flex_temp_out_main_template));
|
||||
printstats = syntaxerror = trace = spprdflt = false;
|
||||
lex_compat = posix_compat = C_plus_plus = backing_up_report =
|
||||
ddebug = fulltbl = false;
|
||||
Index: flex/src/filter.c
|
||||
===================================================================
|
||||
--- flex/src/filter.c (revision 24)
|
||||
+++ flex/src/filter.c (working copy)
|
||||
@@ -86,7 +86,8 @@
|
||||
|
||||
/* Get some more or less random data. */
|
||||
{
|
||||
- static unsigned long long g_value = 827363;
|
||||
+ static unsigned long long g_value;
|
||||
+ g_value = _getpid();
|
||||
g_value += 100;
|
||||
random_time_bits = (((unsigned long long)234546 << 32)
|
||||
| (unsigned long long)g_value);
|
||||
501
init-repository
501
init-repository
@@ -1,39 +1,39 @@
|
||||
#!/usr/bin/env perl
|
||||
#############################################################################
|
||||
##
|
||||
## Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
|
||||
## Contact: http://www.qt-project.org/
|
||||
## Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
|
||||
## Contact: http://www.qt-project.org/legal
|
||||
##
|
||||
## This file is part of the utilities of the Qt Toolkit.
|
||||
##
|
||||
## $QT_BEGIN_LICENSE:LGPL$
|
||||
## GNU Lesser General Public License Usage
|
||||
## This file may be used under the terms of the GNU Lesser General Public
|
||||
## License version 2.1 as published by the Free Software Foundation and
|
||||
## appearing in the file LICENSE.LGPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU Lesser
|
||||
## General Public License version 2.1 requirements will be met:
|
||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
## Commercial License Usage
|
||||
## Licensees holding valid commercial Qt licenses may use this file in
|
||||
## accordance with the commercial license agreement provided with the
|
||||
## Software or, alternatively, in accordance with the terms contained in
|
||||
## a written agreement between you and Digia. For licensing terms and
|
||||
## conditions see http://qt.digia.com/licensing. For further information
|
||||
## use the contact form at http://qt.digia.com/contact-us.
|
||||
##
|
||||
## In addition, as a special exception, Nokia gives you certain additional
|
||||
## rights. These rights are described in the Nokia Qt LGPL Exception
|
||||
## GNU Lesser General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||
## General Public License version 2.1 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.LGPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU Lesser General Public License version 2.1 requirements
|
||||
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||
##
|
||||
## In addition, as a special exception, Digia gives you certain additional
|
||||
## rights. These rights are described in the Digia Qt LGPL Exception
|
||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||
##
|
||||
## GNU General Public License Usage
|
||||
## Alternatively, this file may be used under the terms of the GNU General
|
||||
## Public License version 3.0 as published by the Free Software Foundation
|
||||
## and appearing in the file LICENSE.GPL included in the packaging of this
|
||||
## file. Please review the following information to ensure the GNU General
|
||||
## Public License version 3.0 requirements will be met:
|
||||
## http://www.gnu.org/copyleft/gpl.html.
|
||||
##
|
||||
## Other Usage
|
||||
## Alternatively, this file may be used in accordance with the terms and
|
||||
## conditions contained in a signed written agreement between you and Nokia.
|
||||
##
|
||||
##
|
||||
##
|
||||
##
|
||||
## Alternatively, this file may be used under the terms of the GNU
|
||||
## General Public License version 3.0 as published by the Free Software
|
||||
## Foundation and appearing in the file LICENSE.GPL included in the
|
||||
## packaging of this file. Please review the following information to
|
||||
## ensure the GNU General Public License version 3.0 requirements will be
|
||||
## met: http://www.gnu.org/copyleft/gpl.html.
|
||||
##
|
||||
##
|
||||
## $QT_END_LICENSE$
|
||||
@@ -70,6 +70,12 @@ B<Global options:>
|
||||
Force initialization (even if the submodules are already checked out).
|
||||
|
||||
|
||||
=item --force-hooks
|
||||
|
||||
Force initialization of hooks (even if there are already hooks in checked out
|
||||
submodules).
|
||||
|
||||
|
||||
=item --quiet, -q
|
||||
|
||||
Be quiet. Will exit cleanly if the repository is already initialized.
|
||||
@@ -91,19 +97,26 @@ git repository.
|
||||
|
||||
Only initialize the specified subset of modules given as the argument. Specified
|
||||
modules must already exist in .gitmodules.
|
||||
The string "all" results in cloning all known modules. The default is the set of
|
||||
maintained modules.
|
||||
Module names may be prefixed with a dash to exclude them from a bigger set.
|
||||
|
||||
=item --no-update
|
||||
|
||||
Skip the `git submodule update' command.
|
||||
|
||||
=item --branch
|
||||
|
||||
Instead of checking out specific SHA1s, check out the submodule branches that
|
||||
correspond with the current supermodule commit.
|
||||
By default, this option will cause local commits in the submodules to be rebased.
|
||||
With --no-update, the branches will be checked out, but their heads will not move.
|
||||
|
||||
=item --ignore-submodules
|
||||
|
||||
Set git config to ignore submodules by default when doing operations on the
|
||||
qt5 repo, such as `pull', `fetch', `diff' etc.
|
||||
|
||||
This option is default for --nokia-developer/--brisbane.
|
||||
|
||||
After using this option, pass `--ignore-submodules=none' to git to override
|
||||
it as needed.
|
||||
|
||||
@@ -114,38 +127,15 @@ B<Repository options:>
|
||||
|
||||
=over
|
||||
|
||||
=item --nokia-developer
|
||||
|
||||
Switch to internal Nokia URLs.
|
||||
|
||||
|
||||
=item --brisbane
|
||||
|
||||
Switch to internal Nokia URLs and make use of the Brisbane git mirrors.
|
||||
(Implies `--mirror' and `--mirror-webkit').
|
||||
|
||||
=item --berlin
|
||||
|
||||
Switch to internal Nokia URLs and make use of the Berlin git mirrors.
|
||||
(Implies `--mirror' and `--mirror-webkit').
|
||||
Switch to internal URLs and make use of the Berlin git mirrors.
|
||||
(Implies `--mirror').
|
||||
|
||||
=item --oslo
|
||||
|
||||
=item --ssh
|
||||
|
||||
Use the SSH protocol for git operations. This may be useful if the git
|
||||
protocol is blocked by a firewall. Note that this requires a user account
|
||||
with an uploaded SSH key on all servers used. (Implies `--nokia-developer').
|
||||
|
||||
The `--ssh' option does not affect the gerrit remotes.
|
||||
|
||||
|
||||
=item --http
|
||||
|
||||
Use the HTTP protocol for git operations. This may be useful if the git
|
||||
protocol is blocked by a firewall. Note that this only works with the
|
||||
external Gitorious server.
|
||||
|
||||
The `--http' option does not affect the gerrit remotes.
|
||||
Switch to internal URLs and make use of the Oslo git mirrors.
|
||||
(Implies `--mirror').
|
||||
|
||||
|
||||
=item --codereview-username <Gerrit/JIRA username>
|
||||
@@ -188,19 +178,15 @@ Uses <url-base> as the base URL for submodule git mirrors.
|
||||
|
||||
For example:
|
||||
|
||||
--mirror user@machine:/foo/bar
|
||||
--mirror user@machine:/foo/bar/
|
||||
|
||||
...will use the following as a mirror for qtbase:
|
||||
|
||||
user@machine:/foo/bar/qtbase.git
|
||||
user@machine:/foo/bar/qt/qtbase.git
|
||||
|
||||
The mirror is permitted to contain a subset of the submodules; any
|
||||
missing modules will fall back to the canonical URLs.
|
||||
|
||||
=item --mirror-webkit <url>
|
||||
|
||||
Uses <url> as the URL for the webkit git mirror.
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
@@ -211,60 +197,14 @@ use Getopt::Long qw( GetOptionsFromArray );
|
||||
use Pod::Usage qw( pod2usage );
|
||||
use Cwd qw( getcwd );
|
||||
|
||||
my %PROTOCOLS = (
|
||||
'internal' => 'git://scm.dev.nokia.troll.no/' ,
|
||||
'ssh' => 'git@scm.dev.nokia.troll.no:' ,
|
||||
'http' => 'http://git.gitorious.org/' ,
|
||||
);
|
||||
|
||||
my %GERRIT_REPOS = map { $_ => "qt/$_" } qw(
|
||||
qt3d
|
||||
qt5
|
||||
qlalr
|
||||
qtactiveqt
|
||||
qtbase
|
||||
qtconnectivity
|
||||
qtdeclarative
|
||||
qtdoc
|
||||
qtdocgallery
|
||||
qtfeedback
|
||||
qtgraphicaleffects
|
||||
qtimageformats
|
||||
qtjsondb
|
||||
qtjsbackend
|
||||
qtlocation
|
||||
qtmultimedia
|
||||
qtphonon
|
||||
qtpim
|
||||
qtqa
|
||||
qtquick1
|
||||
qtrepotools
|
||||
qtscript
|
||||
qtsensors
|
||||
qtsvg
|
||||
qtsystems
|
||||
qttools
|
||||
qttranslations
|
||||
qtwayland
|
||||
qtwebkit-examples-and-demos
|
||||
qtxmlpatterns
|
||||
);
|
||||
|
||||
my $GERRIT_SSH_BASE
|
||||
= 'ssh://@USER@codereview.qt-project.org@PORT@/';
|
||||
|
||||
my $BNE_MIRROR_URL_BASE
|
||||
= 'git://bq-git.apac.nokia.com/qtsoftware/';
|
||||
|
||||
my $BNE_MIRROR_WEBKIT_URL
|
||||
= 'git://bq-git.apac.nokia.com/qtsoftware/research/gitorious-org-webkit-qtwebkit-mirror.git';
|
||||
|
||||
my $BER_MIRROR_URL_BASE
|
||||
= 'git://ber-git.europe.nokia.com/';
|
||||
|
||||
my $BER_MIRROR_WEBKIT_URL
|
||||
= 'git://ber-git.europe.nokia.com/qtwebkit/qtwebkit.git';
|
||||
= 'git://hegel/';
|
||||
|
||||
my $OSLO_MIRROR_URL_BASE
|
||||
= 'git://qilin/';
|
||||
|
||||
sub new
|
||||
{
|
||||
@@ -299,71 +239,48 @@ sub parse_arguments
|
||||
|
||||
%{$self} = (%{$self},
|
||||
'alternates' => "",
|
||||
'branch' => 0,
|
||||
'codereview-username' => "",
|
||||
'detach-alternates' => 0 ,
|
||||
'force' => 0 ,
|
||||
'force-hooks' => 0 ,
|
||||
'ignore-submodules' => 0 ,
|
||||
'mirror-url' => "",
|
||||
'mirror-webkit-url' => "",
|
||||
'nokia-developer' => 0 ,
|
||||
'protocol' => "",
|
||||
'update' => 1 ,
|
||||
'webkit' => 1 ,
|
||||
'module-subset' => "",
|
||||
'module-subset' => "default",
|
||||
);
|
||||
|
||||
GetOptionsFromArray(\@args,
|
||||
'alternates=s' => \$self->{qw{ alternates }},
|
||||
'branch' => \$self->{qw{ branch }},
|
||||
'codereview-username=s' => \$self->{qw{ codereview-username }},
|
||||
'copy-objects' => \$self->{qw{ detach-alternates }},
|
||||
'force' => \$self->{qw{ force }},
|
||||
'force|f' => \$self->{qw{ force }},
|
||||
'force-hooks' => \$self->{qw{ force-hooks }},
|
||||
'ignore-submodules' => \$self->{qw{ ignore-submodules }},
|
||||
'mirror-webkit=s' => \$self->{qw{ mirror-webkit-url }},
|
||||
'mirror=s' => \$self->{qw{ mirror-url }},
|
||||
'nokia-developer' => \$self->{qw{ nokia-developer }},
|
||||
'quiet' => \$self->{qw{ quiet }},
|
||||
'update!' => \$self->{qw{ update }},
|
||||
'webkit!' => \$self->{qw{ webkit }},
|
||||
'module-subset=s' => \$self->{qw{ module-subset }},
|
||||
|
||||
'help|?' => sub { pod2usage(1); },
|
||||
'http' => sub { $self->{protocol} = 'http'; },
|
||||
'ssh|ssh-protocol' => sub { $self->{protocol} = 'ssh'; },
|
||||
|
||||
'brisbane|brisbane-nokia-developer' => sub {
|
||||
$self->{'nokia-developer'} = 1;
|
||||
$self->{'protocol'} = 'internal';
|
||||
$self->{'mirror-url'} = $BNE_MIRROR_URL_BASE;
|
||||
$self->{'mirror-webkit-url'} = $BNE_MIRROR_WEBKIT_URL;
|
||||
$self->{'ignore-submodules'} = 1;
|
||||
},
|
||||
|
||||
'berlin|berlin-nokia-developer' => sub {
|
||||
$self->{'nokia-developer'} = 1;
|
||||
$self->{'protocol'} = 'internal';
|
||||
'berlin' => sub {
|
||||
$self->{'mirror-url'} = $BER_MIRROR_URL_BASE;
|
||||
$self->{'mirror-webkit-url'} = $BER_MIRROR_WEBKIT_URL;
|
||||
},
|
||||
|
||||
'nokia-developer' => sub {
|
||||
$self->{'nokia-developer'} = 1;
|
||||
$self->{'protocol'} = 'internal';
|
||||
$self->{'ignore-submodules'} = 1;
|
||||
'oslo' => sub {
|
||||
$self->{'mirror-url'} = $OSLO_MIRROR_URL_BASE;
|
||||
},
|
||||
) || pod2usage(2);
|
||||
|
||||
if ($self->{'nokia-developer'} && $self->{'protocol'} eq 'http') {
|
||||
print "*** Ignoring use of HTTP protocol, as it's only usable with external server\n";
|
||||
$self->{'protocol'} = '';
|
||||
}
|
||||
|
||||
# Replace any double trailing slashes from end of mirror
|
||||
$self->{'mirror-url'} =~ s{//+$}{/};
|
||||
|
||||
if ($self->{'module-subset'}) {
|
||||
$self->{'module-subset'} = {
|
||||
map { $_ => 1 } split(qr{,}, $self->{'module-subset'})
|
||||
};
|
||||
$self->{'module-subset'} = [ split(/,/, $self->{'module-subset'}) ];
|
||||
if (!$self->{webkit}) {
|
||||
push @{$self->{'module-subset'}}, "-qtwebkit", "-qtwebkit-examples";
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -375,16 +292,7 @@ sub check_if_already_initialized
|
||||
|
||||
# We consider the repo as `initialized' if submodule.qtbase.url is set
|
||||
if (qx(git config --get submodule.qtbase.url)) {
|
||||
if ($self->{force}) {
|
||||
my @configresult = qx(git config -l);
|
||||
foreach (@configresult) {
|
||||
# Example line: submodule.qtqa.url=git://gitorious.org/qt/qtqa.git
|
||||
if (/(submodule\.[^.=]+)\.url=.*/) {
|
||||
$self->exe('git', 'config', '--remove-section', $1);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!$self->{force}) {
|
||||
exit 0 if ($self->{quiet});
|
||||
print "Will not reinitialize already initialized repository (use -f to force)!\n";
|
||||
exit 1;
|
||||
@@ -396,11 +304,10 @@ sub check_if_already_initialized
|
||||
|
||||
sub git_submodule_init
|
||||
{
|
||||
my ($self) = @_;
|
||||
my ($self, @init_args) = @_;
|
||||
|
||||
my @init_args;
|
||||
if ($self->{quiet}) {
|
||||
push @init_args, '--quiet';
|
||||
unshift @init_args, '--quiet';
|
||||
}
|
||||
$self->exe('git', 'submodule', 'init', @init_args);
|
||||
|
||||
@@ -412,83 +319,101 @@ sub git_submodule_init
|
||||
return;
|
||||
}
|
||||
|
||||
sub git_disable_webkit_submodule
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
$self->exe('git', 'config', '--remove', 'submodule.qtwebkit');
|
||||
$self->exe('git', 'config', '--remove', 'submodule.qtwebkit-examples-and-demos');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sub git_prune_submodules
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
my @configresult = qx(git config -l);
|
||||
foreach my $line (@configresult) {
|
||||
if ($line =~ /submodule\.([^.=]+)\.url=/) {
|
||||
my $module_name = $1;
|
||||
if (!$self->{'module-subset'}{$module_name}) {
|
||||
$self->exe('git', 'config', '--remove', "submodule.$module_name");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub git_set_submodule_config
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
my @configresult = qx(git config -l);
|
||||
my $protocol = $self->{protocol};
|
||||
my $url_base_for_protocol = $PROTOCOLS{$protocol};
|
||||
|
||||
foreach my $line (@configresult) {
|
||||
# Example line: submodule.qtqa.url=git://gitorious.org/qt/qtqa.git
|
||||
next if ($line !~ /submodule\.([^.=]+)\.url=(.*)/);
|
||||
|
||||
my $key = $1;
|
||||
my $value = $2;
|
||||
|
||||
if ($protocol) {
|
||||
# WebKit is special, and has only external link.
|
||||
if ($key ne 'qtwebkit') {
|
||||
# qt-labs projects are still hosted under qt internally.
|
||||
if ($protocol ne 'http') {
|
||||
$value =~ s,^git://gitorious\.org/qt-labs/,${url_base_for_protocol}qt/,;
|
||||
}
|
||||
|
||||
# assume all other projects hosted under gitorious publicly.
|
||||
$value =~ s,^git://gitorious\.org/,$url_base_for_protocol,;
|
||||
}
|
||||
}
|
||||
|
||||
$self->exe('git', 'config', "submodule.$key.url", $value);
|
||||
|
||||
if ($self->{'ignore-submodules'}) {
|
||||
$self->exe('git', 'config', "submodule.$key.ignore", 'all');
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sub git_clone_all_submodules
|
||||
{
|
||||
my ($self) = @_;
|
||||
my ($self, $my_repo_base, $co_branch, @subset) = @_;
|
||||
|
||||
my %subdirs = ();
|
||||
my %subbranches = ();
|
||||
my %subbases = ();
|
||||
my %subinits = ();
|
||||
my @submodconfig = qx(git config -l -f .gitmodules);
|
||||
foreach my $line (@submodconfig) {
|
||||
# Example line: submodule.qtqa.url=../qtqa.git
|
||||
next if ($line !~ /^submodule\.([^.=]+)\.([^.=]+)=(.*)$/);
|
||||
if ($2 eq "path") {
|
||||
$subdirs{$1} = $3;
|
||||
} elsif ($2 eq "branch") {
|
||||
$subbranches{$1} = $3;
|
||||
} elsif ($2 eq "url") {
|
||||
my ($mod, $base) = ($1, $3);
|
||||
next if ($base !~ /^\.\.\//);
|
||||
$base = $my_repo_base.'/'.$base;
|
||||
while ($base =~ s,/(?!\.\./)[^/]+/\.\./,/,g) {}
|
||||
$subbases{$mod} = $base;
|
||||
} elsif ($2 eq "update") {
|
||||
push @subset, '-'.$1 if ($3 eq 'ignore');
|
||||
} elsif ($2 eq "initrepo") {
|
||||
$subinits{$1} = ($3 eq "yes" or $3 eq "true");
|
||||
}
|
||||
}
|
||||
|
||||
my %include = ();
|
||||
foreach my $mod (@subset) {
|
||||
if ($mod eq "all") {
|
||||
map { $include{$_} = 1; } keys %subbases;
|
||||
} elsif ($mod eq "default") {
|
||||
map { $include{$_} = 1; } grep { $subinits{$_} } keys %subbases;
|
||||
} elsif ($mod =~ s/^-//) {
|
||||
delete $include{$mod};
|
||||
} else {
|
||||
$include{$mod} = 1;
|
||||
}
|
||||
}
|
||||
|
||||
my @modules = sort keys %include;
|
||||
|
||||
$self->git_submodule_init(map { $subdirs{$_} } @modules);
|
||||
|
||||
# manually clone each repo here, so we can easily use reference repos, mirrors etc
|
||||
my @configresult = qx(git config -l);
|
||||
foreach my $line (@configresult) {
|
||||
if ($line =~ /submodule\.([^.=]+)\.url=(.*)/) {
|
||||
$self->git_clone_one_submodule($1, $2);
|
||||
# Example line: submodule.qtqa.url=git://gitorious.org/qt/qtqa.git
|
||||
next if ($line !~ /submodule\.([^.=]+)\.url=/);
|
||||
my $module = $1;
|
||||
|
||||
if (!defined($include{$module})) {
|
||||
$self->exe('git', 'config', '--remove-section', "submodule.$module");
|
||||
next;
|
||||
}
|
||||
|
||||
if ($self->{'ignore-submodules'}) {
|
||||
$self->exe('git', 'config', "submodule.$module.ignore", 'all');
|
||||
}
|
||||
}
|
||||
|
||||
foreach my $module (@modules) {
|
||||
$self->git_clone_one_submodule($subdirs{$module}, $subbases{$module}, $subbranches{$module});
|
||||
}
|
||||
|
||||
if ($co_branch) {
|
||||
foreach my $module (@modules) {
|
||||
my $branch = $subbranches{$module};
|
||||
die("No branch defined for submodule $module.\n") if (!defined($branch));
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
my $br = qx(git rev-parse -q --verify $branch);
|
||||
if (!$br) {
|
||||
$self->exe('git', 'checkout', '-b', $branch, "origin/$branch");
|
||||
} else {
|
||||
$self->exe('git', 'checkout', $branch);
|
||||
}
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
if ($self->{update}) {
|
||||
$self->exe('git', 'submodule', 'update', '--recursive');
|
||||
my @cmd = ('git', 'submodule', 'update', '--no-fetch');
|
||||
push @cmd, '--remote', '--rebase' if ($co_branch);
|
||||
$self->exe(@cmd);
|
||||
|
||||
foreach my $module (@modules) {
|
||||
if (-f $module.'/.gitmodules') {
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($module) or confess "chdir $module: $OS_ERROR";
|
||||
$self->git_clone_all_submodules($subbases{$module}, 0, "all");
|
||||
chdir("$orig_cwd") or confess "chdir $orig_cwd: $OS_ERROR";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
@@ -496,39 +421,29 @@ sub git_clone_all_submodules
|
||||
|
||||
sub git_add_remotes
|
||||
{
|
||||
my ($self, $repo_basename) = @_;
|
||||
my ($self, $gerrit_repo_basename) = @_;
|
||||
|
||||
my $gerrit_repo_basename = $GERRIT_REPOS{$repo_basename};
|
||||
if ($gerrit_repo_basename) {
|
||||
my $gerrit_repo_url;
|
||||
|
||||
# If given a username, make a "verbose" remote.
|
||||
# Otherwise, rely on proper SSH configuration.
|
||||
if ($self->{'codereview-username'}) {
|
||||
$gerrit_repo_url = $GERRIT_SSH_BASE;
|
||||
$gerrit_repo_url =~ s,\@USER\@,$self->{'codereview-username'}\@,;
|
||||
$gerrit_repo_url =~ s,\@PORT\@,:29418,;
|
||||
}
|
||||
else {
|
||||
$gerrit_repo_url = $GERRIT_SSH_BASE;
|
||||
$gerrit_repo_url =~ s,\@[^\@]+\@,,g;
|
||||
}
|
||||
|
||||
$gerrit_repo_url .= $gerrit_repo_basename;
|
||||
$self->exe('git', 'config', 'remote.gerrit.url', $gerrit_repo_url);
|
||||
$self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*');
|
||||
my $gerrit_repo_url = $GERRIT_SSH_BASE;
|
||||
# If given a username, make a "verbose" remote.
|
||||
# Otherwise, rely on proper SSH configuration.
|
||||
if ($self->{'codereview-username'}) {
|
||||
$gerrit_repo_url =~ s,\@USER\@,$self->{'codereview-username'}\@,;
|
||||
$gerrit_repo_url =~ s,\@PORT\@,:29418,;
|
||||
} else {
|
||||
$gerrit_repo_url =~ s,\@[^\@]+\@,,g;
|
||||
}
|
||||
|
||||
return;
|
||||
$gerrit_repo_url .= $gerrit_repo_basename;
|
||||
$self->exe('git', 'config', 'remote.gerrit.url', $gerrit_repo_url);
|
||||
$self->exe('git', 'config', 'remote.gerrit.fetch', '+refs/heads/*:refs/remotes/gerrit/*', '/heads/');
|
||||
}
|
||||
|
||||
sub git_clone_one_submodule
|
||||
{
|
||||
my ($self, $submodule, $url) = @_;
|
||||
my ($self, $submodule, $repo_basename, $branch) = @_;
|
||||
|
||||
my $alternates = $self->{ 'alternates' };
|
||||
my $mirror_url = $self->{ 'mirror-url' };
|
||||
my $mirror_webkit_url = $self->{ 'mirror-webkit-url' };
|
||||
my $protocol = $self->{ 'protocol' };
|
||||
|
||||
# `--reference FOO' args for the clone, if any.
|
||||
@@ -536,7 +451,7 @@ sub git_clone_one_submodule
|
||||
|
||||
if ($alternates) {
|
||||
# alternates is a qt5 repo, so the submodule will be under that.
|
||||
if (-d "$alternates/$submodule") {
|
||||
if (-e "$alternates/$submodule/.git") {
|
||||
@reference_args = ('--reference', "$alternates/$submodule");
|
||||
}
|
||||
else {
|
||||
@@ -544,13 +459,10 @@ sub git_clone_one_submodule
|
||||
}
|
||||
}
|
||||
|
||||
my $url = $self->{'base-url'}.$repo_basename;
|
||||
my $mirror;
|
||||
if ($mirror_url && ($submodule ne 'qtwebkit')) {
|
||||
$mirror = $mirror_url."qt/$submodule";
|
||||
$mirror .= ".git" unless (-d $mirror); # Support local disk mirror
|
||||
}
|
||||
elsif ($mirror_webkit_url && ($submodule eq 'qtwebkit')) {
|
||||
$mirror = $mirror_webkit_url;
|
||||
if ($mirror_url) {
|
||||
$mirror = $mirror_url.$repo_basename;
|
||||
}
|
||||
|
||||
if ($mirror) {
|
||||
@@ -562,21 +474,33 @@ sub git_clone_one_submodule
|
||||
}
|
||||
}
|
||||
|
||||
my $do_clone = (! -d "$submodule/.git");
|
||||
my $do_clone = (! -e "$submodule/.git");
|
||||
if ($do_clone) {
|
||||
$self->exe('git', 'clone', @reference_args, ($mirror ? $mirror : $url), $submodule);
|
||||
push @reference_args, '--branch', $branch if ($branch);
|
||||
$self->exe('git', 'clone', @reference_args,
|
||||
($mirror ? $mirror : $url), $submodule);
|
||||
}
|
||||
|
||||
my $orig_cwd = getcwd();
|
||||
chdir($submodule) or confess "chdir $submodule: $OS_ERROR";
|
||||
|
||||
$self->exe('git', 'config', 'remote.origin.url', $url);
|
||||
if ($mirror) {
|
||||
# This is only for the user's convenience - we make no use of it.
|
||||
$self->exe('git', 'config', 'remote.mirror.url', $mirror);
|
||||
$self->exe('git', 'config', 'remote.mirror.fetch', '+refs/heads/*:refs/remotes/mirror/*');
|
||||
}
|
||||
|
||||
if (!$do_clone) {
|
||||
$self->exe('git', 'fetch', ($mirror ? $mirror : $url));
|
||||
if (!$do_clone && $self->{update}) {
|
||||
# If we didn't clone, fetch from the right location. We always update
|
||||
# the origin remote, so that submodule update --remote works.
|
||||
$self->exe('git', 'config', 'remote.origin.url', ($mirror ? $mirror : $url));
|
||||
$self->exe('git', 'fetch', 'origin');
|
||||
}
|
||||
|
||||
if (!($do_clone || $self->{update}) || $mirror) {
|
||||
# Leave the origin configured to the canonical URL. It's already correct
|
||||
# if we cloned/fetched without a mirror; otherwise it may be anything.
|
||||
$self->exe('git', 'config', 'remote.origin.url', $url);
|
||||
}
|
||||
|
||||
my $template = getcwd()."/../.commit-template";
|
||||
@@ -584,7 +508,7 @@ sub git_clone_one_submodule
|
||||
$self->exe('git', 'config', 'commit.template', $template);
|
||||
}
|
||||
|
||||
$self->git_add_remotes($submodule);
|
||||
$self->git_add_remotes($repo_basename);
|
||||
|
||||
if ($self->{'detach-alternates'}) {
|
||||
$self->exe('git', 'repack', '-a');
|
||||
@@ -595,31 +519,62 @@ sub git_clone_one_submodule
|
||||
}
|
||||
}
|
||||
|
||||
chdir("..") or confess "cd ..: $OS_ERROR";
|
||||
chdir($orig_cwd) or confess "cd $orig_cwd: $OS_ERROR";
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
sub ensure_link
|
||||
{
|
||||
my ($self, $src, $tgt) = @_;
|
||||
return if (!$self->{'force-hooks'} and -f $tgt);
|
||||
unlink($tgt); # In case we have a dead symlink or pre-existing hook
|
||||
print "Aliasing $src\n as $tgt ...\n" if (!$self->{quiet});
|
||||
return if eval { symlink($src, $tgt) };
|
||||
# Windows doesn't do (proper) symlinks. As the post_commit script needs
|
||||
# them to locate itself, we write a forwarding script instead.
|
||||
open SCRIPT, ">".$tgt or die "Cannot create forwarding script $tgt: $!\n";
|
||||
print SCRIPT "#!/bin/sh\nexec `dirname \$0`/$src \"\$\@\"\n";
|
||||
close SCRIPT;
|
||||
}
|
||||
|
||||
sub git_install_hooks
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
return if (!-d 'qtrepotools/git-hooks');
|
||||
|
||||
# Force C locale as git submodule returns the localized string "Entering"
|
||||
local $ENV{LC_ALL} = 'C';
|
||||
chomp(my @modules = `git submodule foreach :`);
|
||||
push @modules, "";
|
||||
for my $module (@modules) {
|
||||
$module =~ s,^Entering \'([^\']+)\'$,$1/,;
|
||||
my $rel = $module;
|
||||
$rel =~ s,[^/]+,..,g;
|
||||
$rel .= "../../qtrepotools/git-hooks/";
|
||||
$self->ensure_link($rel.'gerrit_commit_msg_hook', $module.'.git/hooks/commit-msg');
|
||||
$self->ensure_link($rel.'git_post_commit_hook', $module.'.git/hooks/post-commit');
|
||||
}
|
||||
}
|
||||
|
||||
sub run
|
||||
{
|
||||
my ($self) = @_;
|
||||
|
||||
$self->check_if_already_initialized;
|
||||
$self->git_submodule_init;
|
||||
|
||||
if (!$self->{webkit}) {
|
||||
$self->git_disable_webkit_submodule;
|
||||
}
|
||||
chomp(my $url = `git config remote.origin.url`);
|
||||
die("Have no origin remote.\n") if (!$url);
|
||||
$url =~ s,\.git$,,;
|
||||
$url =~ s,qt/qt5$,,;
|
||||
$self->{'base-url'} = $url;
|
||||
|
||||
if ($self->{'module-subset'}) {
|
||||
$self->git_prune_submodules;
|
||||
}
|
||||
$self->git_clone_all_submodules('qt/qt5', $self->{branch}, @{$self->{'module-subset'}});
|
||||
|
||||
$self->git_set_submodule_config;
|
||||
$self->git_add_remotes('qt/qt5');
|
||||
|
||||
$self->git_clone_all_submodules;
|
||||
|
||||
$self->git_add_remotes('qt5');
|
||||
$self->git_install_hooks;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
246
qt.pro
246
qt.pro
@@ -1,178 +1,94 @@
|
||||
# Create the super cache so modules will add themselves to it.
|
||||
cache(, super)
|
||||
|
||||
CONFIG += build_pass # hack to disable the .qmake.super auto-add
|
||||
load(qt_build_config)
|
||||
CONFIG -= build_pass # unhack, as it confuses Qt Creator
|
||||
|
||||
TEMPLATE = subdirs
|
||||
|
||||
module_qtbase.subdir = $$IN_PWD/qtbase
|
||||
module_qtbase.target = module-qtbase
|
||||
defineReplace(moduleName) {
|
||||
return(module_$$replace(1, -, _))
|
||||
}
|
||||
|
||||
module_qtsvg.subdir = $$IN_PWD/qtsvg
|
||||
module_qtsvg.target = module-qtsvg
|
||||
module_qtsvg.depends = module_qtbase
|
||||
# Arguments: module name, [mandatory deps], [optional deps], [project file]
|
||||
defineTest(addModule) {
|
||||
contains(QT_SKIP_MODULES, $$1): return(false)
|
||||
mod = $$moduleName($$1)
|
||||
|
||||
module_qtphonon.subdir = $$IN_PWD/qtphonon
|
||||
module_qtphonon.target = module-qtphonon
|
||||
module_qtphonon.depends = module_qtbase
|
||||
isEmpty(4) {
|
||||
!exists($$1/$${1}.pro): return(false)
|
||||
$${mod}.subdir = $$1
|
||||
export($${mod}.subdir)
|
||||
} else {
|
||||
!exists($$1/$${4}): return(false)
|
||||
$${mod}.file = $$1/$$4
|
||||
$${mod}.makefile = Makefile
|
||||
export($${mod}.file)
|
||||
export($${mod}.makefile)
|
||||
}
|
||||
|
||||
module_qtxmlpatterns.subdir = $$IN_PWD/qtxmlpatterns
|
||||
module_qtxmlpatterns.target = module-qtxmlpatterns
|
||||
module_qtxmlpatterns.depends = module_qtbase
|
||||
for(d, 2) {
|
||||
dn = $$moduleName($$d)
|
||||
!contains(SUBDIRS, $$dn): \
|
||||
return(false)
|
||||
$${mod}.depends += $$dn
|
||||
}
|
||||
for(d, 3) {
|
||||
dn = $$moduleName($$d)
|
||||
contains(SUBDIRS, $$dn): \
|
||||
$${mod}.depends += $$dn
|
||||
}
|
||||
!isEmpty($${mod}.depends): \
|
||||
export($${mod}.depends)
|
||||
|
||||
module_qtscript.subdir = $$IN_PWD/qtscript
|
||||
module_qtscript.target = module-qtscript
|
||||
module_qtscript.depends = module_qtbase
|
||||
$${mod}.target = module-$$1
|
||||
export($${mod}.target)
|
||||
|
||||
module_qtjsbackend.subdir = $$IN_PWD/qtjsbackend
|
||||
module_qtjsbackend.target = module-qtjsbackend
|
||||
module_qtjsbackend.depends = module_qtbase
|
||||
|
||||
module_qtdeclarative.subdir = $$IN_PWD/qtdeclarative
|
||||
module_qtdeclarative.target = module-qtdeclarative
|
||||
module_qtdeclarative.depends = module_qtbase module_qtxmlpatterns module_qtjsbackend
|
||||
|
||||
module_qtwebkit.file = qtwebkit.pri
|
||||
module_qtwebkit.makefile = Makefile.qtwebkit
|
||||
module_qtwebkit.depends = module_qtbase module_qtscript module_qtdeclarative module_qtquick1
|
||||
# The qtwebkit subdir does not follow the "module-*" scheme, so make our own target that does.
|
||||
module_qtwebkit_target.target = module-qtwebkit
|
||||
module_qtwebkit_target.commands =
|
||||
module_qtwebkit_target.depends = sub-qtwebkit-pri
|
||||
QMAKE_EXTRA_TARGETS += module_qtwebkit_target
|
||||
|
||||
module_qtwebkit_examples_and_demos.subdir = $$IN_PWD/qtwebkit-examples-and-demos
|
||||
module_qtwebkit_examples_and_demos.target = module-qtwebkit-examples-and-demos
|
||||
module_qtwebkit_examples_and_demos.depends = module_qtwebkit
|
||||
|
||||
module_qttools.subdir = $$IN_PWD/qttools
|
||||
module_qttools.target = module-qttools
|
||||
module_qttools.depends = module_qtbase module_qtscript module_qtquick1 module_qtdeclarative
|
||||
|
||||
module_qttranslations.subdir = $$IN_PWD/qttranslations
|
||||
module_qttranslations.target = module-qttranslations
|
||||
module_qttranslations.depends = module_qttools
|
||||
|
||||
module_qtdoc.subdir = $$IN_PWD/qtdoc
|
||||
module_qtdoc.target = module-qtdoc
|
||||
module_qtdoc.depends = module_qtbase module_qtdeclarative
|
||||
|
||||
module_qtactiveqt.subdir = $$IN_PWD/qtactiveqt
|
||||
module_qtactiveqt.target = module-qtactiveqt
|
||||
module_qtactiveqt.depends = module_qtbase
|
||||
|
||||
module_qlalr.subdir = $$IN_PWD/qlalr
|
||||
module_qlalr.target = module-qlalr
|
||||
module_qlalr.depends = module_qtbase
|
||||
|
||||
module_qtqa.subdir = $$IN_PWD/qtqa
|
||||
module_qtqa.target = module-qtqa
|
||||
module_qtqa.depends = module_qtbase
|
||||
|
||||
module_qtlocation.subdir = $$IN_PWD/qtlocation
|
||||
module_qtlocation.target = module-qtlocation
|
||||
module_qtlocation.depends = module_qtbase module_qtdeclarative module_qt3d module_qtjsondb
|
||||
|
||||
module_qtsensors.subdir = $$IN_PWD/qtsensors
|
||||
module_qtsensors.target = module-qtsensors
|
||||
module_qtsensors.depends = module_qtbase module_qtdeclarative
|
||||
|
||||
module_qtsystems.subdir = $$IN_PWD/qtsystems
|
||||
module_qtsystems.target = module-qtsystems
|
||||
module_qtsystems.depends = module_qtbase module_qtdeclarative
|
||||
|
||||
module_qtmultimedia.subdir = $$IN_PWD/qtmultimedia
|
||||
module_qtmultimedia.target = module-qtmultimedia
|
||||
module_qtmultimedia.depends = module_qtbase module_qtdeclarative
|
||||
|
||||
module_qtfeedback.subdir = $$IN_PWD/qtfeedback
|
||||
module_qtfeedback.target = module-qtfeedback
|
||||
module_qtfeedback.depends = module_qtbase module_qtmultimedia module_qtdeclarative
|
||||
|
||||
module_qt3d.subdir = $$IN_PWD/qt3d
|
||||
module_qt3d.target = module-qt3d
|
||||
module_qt3d.depends = module_qtbase module_qtdeclarative
|
||||
|
||||
module_qtdocgallery.subdir = $$IN_PWD/qtdocgallery
|
||||
module_qtdocgallery.target = module-qtdocgallery
|
||||
module_qtdocgallery.depends = module_qtbase module_qtscript module_qtdeclarative
|
||||
|
||||
module_qtpim.subdir = $$IN_PWD/qtpim
|
||||
module_qtpim.target = module-qtpim
|
||||
module_qtpim.depends = module_qtdeclarative
|
||||
|
||||
module_qtconnectivity.subdir = $$IN_PWD/qtconnectivity
|
||||
module_qtconnectivity.target = module-qtconnectivity
|
||||
module_qtconnectivity.depends = module_qtsystems
|
||||
|
||||
module_qtwayland.subdir = $$IN_PWD/qtwayland
|
||||
module_qtwayland.target = module-qtwayland
|
||||
module_qtwayland.depends = module_qtbase module_qtdeclarative
|
||||
# not yet enabled by default
|
||||
module_qtwayland.CONFIG = no_default_target no_default_install
|
||||
|
||||
module_qtjsondb.subdir = $$IN_PWD/qtjsondb
|
||||
module_qtjsondb.target = module-qtjsondb
|
||||
module_qtjsondb.depends = module_qtbase module_qtdeclarative module_qtxmlpatterns
|
||||
|
||||
module_qtimageformats.subdir = $$IN_PWD/qtimageformats
|
||||
module_qtimageformats.target = module-qtimageformats
|
||||
module_qtimageformats.depends = module_qtbase
|
||||
|
||||
module_qtquick1.subdir = $$IN_PWD/qtquick1
|
||||
module_qtquick1.target = module-qtquick1
|
||||
module_qtquick1.depends = module_qtbase module_qtscript module_qtxmlpatterns
|
||||
|
||||
module_qtgraphicaleffects.subdir = $$IN_PWD/qtgraphicaleffects
|
||||
module_qtgraphicaleffects.target = module-qtgraphicaleffects
|
||||
module_qtgraphicaleffects.depends = module_qtbase module_qtdeclarative module_qtsvg module_qtxmlpatterns
|
||||
# not yet enabled by default
|
||||
module_qtgraphicaleffects.CONFIG = no_default_target no_default_install
|
||||
SUBDIRS += $$mod
|
||||
export(SUBDIRS)
|
||||
return(true)
|
||||
}
|
||||
|
||||
# only qtbase is required to exist. The others may not - but it is the
|
||||
# users responsibility to ensure that all needed dependencies exist, or
|
||||
# it may not build.
|
||||
|
||||
SUBDIRS = module_qtbase
|
||||
ANDROID_EXTRAS =
|
||||
android: ANDROID_EXTRAS = qtandroidextras
|
||||
|
||||
exists(qtsvg/qtsvg.pro) {
|
||||
SUBDIRS += module_qtsvg
|
||||
# These modules do not require qtsvg, but can use it if it is available
|
||||
module_qtdeclarative.depends += module_qtsvg
|
||||
module_qtquick1.depends += module_qtsvg
|
||||
}
|
||||
exists(qtphonon/qtphonon.pro): SUBDIRS += module_qtphonon
|
||||
exists(qtxmlpatterns/qtxmlpatterns.pro): SUBDIRS += module_qtxmlpatterns
|
||||
exists(qtscript/qtscript.pro): SUBDIRS += module_qtscript
|
||||
exists(qtdeclarative/qtdeclarative.pro): SUBDIRS += module_qtdeclarative
|
||||
exists(qttools/qttools.pro): SUBDIRS += module_qttools
|
||||
exists(qttranslations/qttranslations.pro): SUBDIRS += module_qttranslations
|
||||
exists(qtdoc/qtdoc.pro): SUBDIRS += module_qtdoc
|
||||
exists(qlalr/qlalr.pro): SUBDIRS += module_qlalr
|
||||
exists(qtqa/qtqa.pro): SUBDIRS += module_qtqa
|
||||
exists(qtlocation/qtlocation.pro): SUBDIRS += module_qtlocation
|
||||
exists(qtactiveqt/qtactiveqt.pro) {
|
||||
SUBDIRS += module_qtactiveqt
|
||||
module_qttools.depends += module_qtactiveqt
|
||||
}
|
||||
exists(qtsensors/qtsensors.pro): SUBDIRS += module_qtsensors
|
||||
exists(qtsystems/qtsystems.pro): SUBDIRS += module_qtsystems
|
||||
exists(qtmultimedia/qtmultimedia.pro): SUBDIRS += module_qtmultimedia
|
||||
exists(qtfeedback/qtfeedback.pro): SUBDIRS += module_qtfeedback
|
||||
exists(qt3d/qt3d.pro): SUBDIRS += module_qt3d
|
||||
exists(qtdocgallery/qtdocgallery.pro): SUBDIRS += module_qtdocgallery
|
||||
exists(qtpim/qtpim.pro): SUBDIRS += module_qtpim
|
||||
exists(qtconnectivity/qtconnectivity.pro): SUBDIRS += module_qtconnectivity
|
||||
!win32:!mac:exists(qtwayland/qtwayland.pro): SUBDIRS += module_qtwayland
|
||||
exists(qtjsondb/qtjsondb.pro) {
|
||||
SUBDIRS += module_qtjsondb
|
||||
# These modules do not require qtjsondb, but can use it if it is available
|
||||
module_qtpim.depends += module_qtjsondb
|
||||
module_qtdocgallery.depends += module_qtjsondb
|
||||
module_qtsystems.depends += module_qtjsondb
|
||||
}
|
||||
exists(qtjsbackend/qtjsbackend.pro): SUBDIRS += module_qtjsbackend
|
||||
exists(qtimageformats/qtimageformats.pro): SUBDIRS += module_qtimageformats
|
||||
exists(qtquick1/qtquick1.pro): SUBDIRS += module_qtquick1
|
||||
exists(qtgraphicaleffects/qtgraphicaleffects.pro): SUBDIRS += module_qtgraphicaleffects
|
||||
|
||||
exists(qtwebkit/Tools/Scripts/build-webkit) {
|
||||
SUBDIRS += module_qtwebkit \
|
||||
module_qtwebkit_examples_and_demos
|
||||
module_qttools.depends += module_qtwebkit
|
||||
}
|
||||
addModule(qtbase)
|
||||
addModule(qtandroidextras, qtbase)
|
||||
addModule(qtmacextras, qtbase)
|
||||
addModule(qtx11extras, qtbase)
|
||||
addModule(qtsvg, qtbase)
|
||||
addModule(qtxmlpatterns, qtbase)
|
||||
addModule(qtdeclarative, qtbase, qtsvg qtxmlpatterns)
|
||||
addModule(qtquickcontrols, qtdeclarative)
|
||||
addModule(qtmultimedia, qtbase, qtdeclarative)
|
||||
addModule(qtwinextras, qtbase, qtdeclarative qtmultimedia)
|
||||
addModule(qtactiveqt, qtbase)
|
||||
addModule(qt3d, qtdeclarative)
|
||||
addModule(qtsystems, qtbase, qtdeclarative)
|
||||
addModule(qtlocation, qtbase, qtsystems qtmultimedia)
|
||||
addModule(qtsensors, qtbase, qtdeclarative)
|
||||
addModule(qtconnectivity, qtbase $$ANDROID_EXTRAS, qtdeclarative)
|
||||
addModule(qtfeedback, qtdeclarative, qtmultimedia)
|
||||
addModule(qtpim, qtdeclarative)
|
||||
addModule(qtwebsockets, qtbase, qtdeclarative)
|
||||
addModule(qtwebchannel, qtbase, qtdeclarative qtwebsockets)
|
||||
addModule(qtwebkit, qtdeclarative, qtlocation qtmultimedia qtsensors qtwebchannel, WebKit.pro)
|
||||
addModule(qttools, qtbase, qtdeclarative qtactiveqt qtwebkit)
|
||||
addModule(qtwebkit-examples, qtwebkit qttools)
|
||||
addModule(qtimageformats, qtbase)
|
||||
addModule(qtgraphicaleffects, qtdeclarative)
|
||||
addModule(qtscript, qtbase, qttools)
|
||||
addModule(qtquick1, qtscript, qtsvg qtxmlpatterns qtwebkit)
|
||||
addModule(qtdocgallery, qtdeclarative)
|
||||
linux:!android: addModule(qtwayland, qtbase, qtdeclarative)
|
||||
addModule(qtserialport, qtbase)
|
||||
addModule(qtenginio, qtdeclarative)
|
||||
addModule(qtwebengine, qtquickcontrols, qtwebkit)
|
||||
addModule(qttranslations, qttools)
|
||||
addModule(qtdoc, qtdeclarative)
|
||||
addModule(qtqa, qtbase)
|
||||
|
||||
2
qt3d
2
qt3d
Submodule qt3d updated: 4b2cffa47a...bdb98baf82
1
qtactiveqt
Submodule
1
qtactiveqt
Submodule
Submodule qtactiveqt added at f0a39bbfe1
1
qtandroidextras
Submodule
1
qtandroidextras
Submodule
Submodule qtandroidextras added at 42b878b161
2
qtbase
2
qtbase
Submodule qtbase updated: ca572c0b80...d82d5b1c43
1
qtconnectivity
Submodule
1
qtconnectivity
Submodule
Submodule qtconnectivity added at ed8de4eb35
Submodule qtdeclarative updated: ec7deb3d12...2556b97ab2
2
qtdoc
2
qtdoc
Submodule qtdoc updated: 09bb2d974a...a390b74a20
1
qtdocgallery
Submodule
1
qtdocgallery
Submodule
Submodule qtdocgallery added at aa1d1e75ea
1
qtenginio
Submodule
1
qtenginio
Submodule
Submodule qtenginio added at 134dc76b7f
1
qtfeedback
Submodule
1
qtfeedback
Submodule
Submodule qtfeedback added at dea0da7265
Submodule qtgraphicaleffects updated: 00b397a785...c7ed28bece
Submodule qtimageformats updated: f1cd7f80eb...ec301681e4
Submodule qtjsbackend deleted from afefa8cbe7
Submodule qtlocation updated: 32712d70bb...774eb1bccb
1
qtmacextras
Submodule
1
qtmacextras
Submodule
Submodule qtmacextras added at 3a3a7d799b
Submodule qtmultimedia updated: 13025c05c7...cc0569a038
1
qtpim
Submodule
1
qtpim
Submodule
Submodule qtpim added at 7a2b179ff1
1
qtqa
Submodule
1
qtqa
Submodule
Submodule qtqa added at 31235fa2d0
2
qtquick1
2
qtquick1
Submodule qtquick1 updated: bc60289c41...ba0708a757
1
qtquickcontrols
Submodule
1
qtquickcontrols
Submodule
Submodule qtquickcontrols added at dd490a7fe2
1
qtrepotools
Submodule
1
qtrepotools
Submodule
Submodule qtrepotools added at 590f651476
2
qtscript
2
qtscript
Submodule qtscript updated: b270b953bd...eb08742e8f
Submodule qtsensors updated: d5fbd8c4a7...5d6969bf32
1
qtserialport
Submodule
1
qtserialport
Submodule
Submodule qtserialport added at e257bdc9aa
2
qtsvg
2
qtsvg
Submodule qtsvg updated: 794a97bfd9...ccae23961e
Submodule qtsystems updated: 4151cd3912...16125b64bf
2
qttools
2
qttools
Submodule qttools updated: ef2557d7df...b73a47aa17
1
qttranslations
Submodule
1
qttranslations
Submodule
Submodule qttranslations added at f76e5c98b0
Submodule qtwayland updated: 72db1a20a5...182488129c
1
qtwebchannel
Submodule
1
qtwebchannel
Submodule
Submodule qtwebchannel added at 7b5da1d3dd
1
qtwebengine
Submodule
1
qtwebengine
Submodule
Submodule qtwebengine added at 6c0d77396f
2
qtwebkit
2
qtwebkit
Submodule qtwebkit updated: 32f186b0a5...ea590d74ea
1
qtwebkit-examples
Submodule
1
qtwebkit-examples
Submodule
Submodule qtwebkit-examples added at 9f20ed0b48
Submodule qtwebkit-examples-and-demos deleted from 7e24b4fad3
102
qtwebkit.pri
102
qtwebkit.pri
@@ -1,102 +0,0 @@
|
||||
# Wrapper profile for QtWebkit.
|
||||
#
|
||||
# This is needed because webkit builds via a script.
|
||||
# Technically this script is a .pro file, but we name it .pri to avoid clashing
|
||||
# with qt.pro.
|
||||
|
||||
isEmpty(vcproj) {
|
||||
QMAKE_LINK = @: IGNORE THIS LINE
|
||||
OBJECTS_DIR =
|
||||
win32:CONFIG -= embed_manifest_exe
|
||||
} else {
|
||||
CONFIG += console
|
||||
PHONY_DEPS = .
|
||||
phony_src.input = PHONY_DEPS
|
||||
phony_src.output = phony.c
|
||||
phony_src.variable_out = GENERATED_SOURCES
|
||||
phony_src.commands = echo int main() { return 0; } > phony.c
|
||||
phony_src.name = CREATE phony.c
|
||||
phony_src.CONFIG += combine
|
||||
QMAKE_EXTRA_COMPILERS += phony_src
|
||||
}
|
||||
|
||||
DS = $$QMAKE_DIR_SEP
|
||||
contains(DS, /) {
|
||||
env_export = export
|
||||
OPTI=+
|
||||
SBC=$$quote($$QMAKE_CHK_DIR_EXISTS qtwebkit || mkdir qtwebkit &&)
|
||||
} else {
|
||||
env_export = set
|
||||
GNUTOOLS = $$quote("set \"PATH=$$PWD/gnuwin32/bin;%PATH%\" &&")
|
||||
}
|
||||
|
||||
# Any configuration making use of QMAKE_POST_LINK will not work for this project,
|
||||
# since the building is done by webkit's own build script and qmake at this level
|
||||
# does not know the real TARGET. Disable them here.
|
||||
CONFIG -= separate_debug_info
|
||||
|
||||
exists($$PWD/qtwebkit/WebKitTools):qtwebkit_tools_dir = WebKitTools
|
||||
else:qtwebkit_tools_dir = Tools
|
||||
|
||||
QTWEBKIT_BUILD_CONFIG =
|
||||
contains(CONFIG, release):!contains(CONFIG, debug_and_release): {QTWEBKIT_BUILD_CONFIG = --release}
|
||||
|
||||
# npapi does not work for qpa, as of qtwebkit 81b8dac16049715b94dc36256bd9f433f7dfacc5 .
|
||||
# This should be reverted once npapi either works, or gracefully disables itself, for qpa.
|
||||
qpa:QTWEBKIT_BUILD_CONFIG += --no-netscape-plugin
|
||||
|
||||
# WebKit2 is not yet supported on Windows, so avoid trying to build it
|
||||
win32:QTWEBKIT_BUILD_CONFIG += --no-webkit2
|
||||
|
||||
# The '+' is to make parallel "make" work across the script boundary.
|
||||
module_qtwebkit.commands = $${OPTI}$${SBC}cd qtwebkit && \
|
||||
$$env_export \"WEBKITOUTPUTDIR=$$OUT_PWD/qtwebkit/WebKitBuild\" && $$GNUTOOLS \
|
||||
perl $$PWD$${DS}qtwebkit$${DS}$${qtwebkit_tools_dir}$${DS}Scripts$${DS}build-webkit \
|
||||
--qt \
|
||||
--qmake=$(QMAKE) \
|
||||
--install-libs=$$[QT_INSTALL_LIBS] \
|
||||
$$QTWEBKIT_BUILD_CONFIG
|
||||
# "--makeargs=\"-$(MAKEFLAGS)\""
|
||||
# Trick to force dependency on this rule.
|
||||
#module_qtwebkit.commands += $$escape_expand(\\n)make_default: module-qtwebkit
|
||||
module_qtwebkit.target = module-qtwebkit
|
||||
|
||||
# The '+' is to make parallel "make" work across the script boundary.
|
||||
module_qtwebkit_clean.commands = $${OPTI}$${SBC}cd qtwebkit && \
|
||||
$$env_export \"WEBKITOUTPUTDIR=$$OUT_PWD/qtwebkit/WebKitBuild\" && $$GNUTOOLS \
|
||||
perl $$PWD$${DS}qtwebkit$${DS}$${qtwebkit_tools_dir}$${DS}Scripts$${DS}build-webkit \
|
||||
--qt \
|
||||
--qmake=$(QMAKE) \
|
||||
--install-libs=$$[QT_INSTALL_LIBS] \
|
||||
$$QTWEBKIT_BUILD_CONFIG \
|
||||
"--makeargs=\"$(MAKEFLAGS)\"" \
|
||||
--clean
|
||||
# Trick to force dependency on this rule.
|
||||
module_qtwebkit_clean.commands += $$escape_expand(\\n)clean: module-qtwebkit-clean
|
||||
module_qtwebkit_clean.target = module-qtwebkit-clean
|
||||
|
||||
module_qtwebkit_install.commands = $${OPTI}$${SBC}cd qtwebkit && \
|
||||
$$env_export \"WEBKITOUTPUTDIR=$$OUT_PWD/qtwebkit/WebKitBuild\" && $$GNUTOOLS \
|
||||
perl $$PWD$${DS}qtwebkit$${DS}$${qtwebkit_tools_dir}$${DS}Scripts$${DS}build-webkit \
|
||||
--qt \
|
||||
--qmake=$(QMAKE) \
|
||||
--install-libs=$$[QT_INSTALL_LIBS] \
|
||||
"--makeargs=\"install\""
|
||||
# Trick to force dependency on this rule.
|
||||
module_qtwebkit_install.commands+= $$escape_expand(\\n)install: module-qtwebkit-install
|
||||
module_qtwebkit_install.target = module-qtwebkit-install
|
||||
|
||||
module_qtwebkit_uninstall.commands = $${OPTI}$${SBC}cd qtwebkit && \
|
||||
$$env_export \"WEBKITOUTPUTDIR=$$OUT_PWD/qtwebkit/WebKitBuild\" && $$GNUTOOLS \
|
||||
perl $$PWD$${DS}qtwebkit$${DS}$${qtwebkit_tools_dir}$${DS}Scripts$${DS}build-webkit \
|
||||
--qt \
|
||||
--qmake=$(QMAKE) \
|
||||
--install-libs=$$[QT_INSTALL_LIBS] \
|
||||
"--makeargs=\"uninstall\""
|
||||
# Trick to force dependency on this rule.
|
||||
module_qtwebkit_uninstall.commands+= $$escape_expand(\\n)uninstall: module-qtwebkit-uninstall
|
||||
module_qtwebkit_uninstall.target = module-qtwebkit-uninstall
|
||||
|
||||
# WebKit needs a nonstandard target because the build has to be initiated by the bundled script.
|
||||
QMAKE_EXTRA_TARGETS += module_qtwebkit module_qtwebkit_clean module_qtwebkit_install module_qtwebkit_uninstall
|
||||
PRE_TARGETDEPS += module-qtwebkit
|
||||
1
qtwebsockets
Submodule
1
qtwebsockets
Submodule
Submodule qtwebsockets added at 02e0e2a977
1
qtwinextras
Submodule
1
qtwinextras
Submodule
Submodule qtwinextras added at d82df56fb9
1
qtx11extras
Submodule
1
qtx11extras
Submodule
Submodule qtx11extras added at 32b1ce9e1b
Submodule qtxmlpatterns updated: ccfe9a0190...c21924d67a
Reference in New Issue
Block a user