Commit Graph

33 Commits

Author SHA1 Message Date
Samuel Gaist f3bf7a6a61
qt: move Qt source clones to subfolder (#8734)
The current Docker image as it is created does not allow the use of
external sources to test fixes as the mount will come on top of all the
SRC content which has more than just the Qt sources.

This patch changes that and moves the clone to a dedicated folder so it
will follow the same structure as the Qt sources and it will possible to
mount them again to test fixes.

Fixes #7634
2022-10-10 11:04:23 -07:00
Robert Löhning 688737e846
[qt] Clone qtimageformats (#7684)
To actually test it, changes in the build script are needed.
2022-05-09 20:59:01 +01:00
Robert Löhning bbd996ff53
[qt] Explicitly clone qtbase (#7238)
QtSynchronizeRepo.cmake used to do that when a dependency was
missing but since 8a94d1e it just ignores missing checkouts.

--depth 5000 clones about a year of history and reduces the size
of the repository by over 200MB. Cloning even less history would
further reduce the size by less than 15MB.
2022-02-03 18:05:19 -05:00
Robert Löhning 8802bfe576
[qt] Install libssl-dev so Qt will be built with OpenSSL support (#7094) 2022-01-05 11:50:31 -05:00
Robert Löhning a0b3dc9895
[qt] Remove super repo after copying the cmake helper scripts (#7042)
The sources are now taken from individual checkouts of the submodules.
2021-12-20 23:28:28 +00:00
Robert Löhning 21189b0e5b
[qt] Clone the latest combination of qtbase and qtsvg which passed upstream CI (#7017)
* [qt] Clone sources according to qtsvg's latest dependencies

qtsvg/depencies.yaml contains the latest revision of qtbase which qtsvg
was successfully tested with. This is usually much newer than the
submodules in qt5.

* [qt] Still keep the old source checkout

* Empty commit to trigger github actions
2021-12-20 18:42:36 +00:00
Robert Löhning 198bf3f112
[qt] Have my own copy of afl's dictionaries and testcases (#5201) 2021-02-15 07:22:08 -08:00
Robert Löhning 0eb5d661d2
[qt] Enable i386 again (#5185)
We worked around the __mulodi4 problem in our sources.

This reverts parts of
a23f8971d6 and
008b9bcec6
2021-02-12 11:32:56 -08:00
Robert Löhning a23f8971d6
[qt] Update package installation (#4954)
- ninja is the preferred build tool
- 32-bit libraries are no longer needed
2021-01-12 10:24:39 -08:00
Robert Löhning 008b9bcec6
[qt] Build from the dev branch (#4912)
Removing i386 because it fails with:

../bootstrap/libBootstrap.a(qdatetime.cpp.o): In function `qMulOverflow<long long>':
/work/qtbase/include/QtCore/../../../../src/qt/qtbase/src/corelib/global/qnumeric.h:122: undefined reference to `__mulodi4'
2021-01-05 11:30:44 +11:00
Robert Löhning 88fa1b2da7
[qt] Clone submodules in one go (#4555) 2020-10-21 10:23:50 -07:00
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Robert Löhning 2264f7915f
[qt] Don't clone AFL (#4067)
Now that stable caught up with master, we
can use the clone from base-builder image.
2020-07-05 08:30:57 -07:00
Robert Löhning 7da55877b6
[qt] Move build.sh to own repository (#4042) 2020-06-29 12:43:17 -07:00
Robert Löhning 9fd351cb1a
[qt] Test qtsvg (#4012) 2020-06-19 07:53:57 -07:00
Robert Löhning 4f512ca757
Remove qtdeclarative (#3949)
It turned out that QQmlComponent::create() is not suitable for fuzzing.

This mostly reverts commit 0e401be9de.
2020-06-09 07:40:49 -07:00
Abhishek Arya 1776bd3dec
Install latest cmake, make easy to install i386 packages (#3943)
Fixes #3124, #2751
2020-06-07 17:27:40 -07:00
Robert Löhning 0e401be9de
[qt] Add qtdeclarative (#3901)
* [qt] Add qtdeclarative

* [qt] Ignore stdout from make

"The job exceeded the maximum log length, and has been terminated."
2020-05-29 08:06:12 -07:00
Robert Löhning d942fb9657
[qt] Don't install build-essential (#3880)
It's in base-builder now.
2020-05-26 12:51:14 -07:00
Robert Löhning e41dd0e642
[qt] Get a shallow clone of qtbase (#3872)
Reduces the size by nearly 200 MB
2020-05-25 21:53:19 -07:00
Robert Löhning 4ee9ad7901
[qt] Add architecture i386 (#3654) 2020-04-15 07:26:36 -07:00
Robert Löhning f153ab8e4b
[qt] Don't install xcb (#3608)
Seems to be needed on Windows only.
2020-04-09 12:20:36 -07:00
Robert Löhning c833c8dfa2
[qt] Don't install xcb (#3605)
We use the minimal plugin instead.
2020-04-09 10:58:45 -07:00
Robert Löhning be91239b10
[qt] Use dictionaires and testcases from AFL's repo (#3562)
...instead of Ubuntu package
2020-03-31 14:35:39 -07:00
Robert Löhning 96caab94d8
[qt] Remove cherry-picking of ssl fuzz target (#3522)
It's in now.
2020-03-19 06:57:40 -07:00
Robert Löhning a35bbeeeae
[qt] Add fuzz target for ctor of QSslCertificate (#3504)
* [qt] Add fuzz target for ctor of QSslCertificate

* [qt] Fix filename of corpus file

* Cherry-pick fuzz target directly.

It's in the repo now.
2020-03-16 07:57:02 -07:00
Robert Löhning 6bc159c982
[qt] Remove cherry-picking of renaming files (#3422)
It's upstream now.
2020-02-25 03:59:07 -08:00
Robert Löhning b911bfc78b
[qt] Change pro-file names to lower case (#3381)
* [qt] Change pro-file names to lower case

Don't change the names of resulting
executables to keep track of open issues.

* [qt] Fix workaround

* [qt] Another fix in the workaround
2020-02-13 10:34:12 -08:00
Robert Löhning 4e3c999091
[qt] Remove temporary compile fix (#3359)
...when the proper fix was merged upstream.
2020-02-07 05:04:25 -08:00
Robert Löhning 0e48761f14
[qt] Add temporary workaround for compile issue (#3323) 2020-02-04 07:28:04 -08:00
Robert Löhning feb57d3c9d [qt] Don't try to shallow-copy submodules (#3242)
It doesn't work that way.
2020-01-16 04:28:21 -08:00
Robert Löhning 383f8ecefa [qt] Test on branch 5.15 instead of dev (#3232)
- dev will change the build system to cmake. When I stay on 5.15,
  I can choose when to port the fuzzing.

- Submodules are currently outdated in dev. On 5.15, changes in
  stable branch will be tested earlier and additions for fuzzing
  can be used earlier.
2020-01-14 13:10:10 -08:00
Robert Löhning 04ea24ee15 Add the first fuzz target for Qt (#3171) 2020-01-02 07:44:45 -08:00