| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous usage of defines fails as those are available on compile time
when Vulkan SDK is installed and cause QT_QPA_PLATFORM=vkkhrdisplay to
bet set for desktop also. Since dd3840a1a201318c8f089dc7d34ec38f64e05b4e
we can get platform plugin name before creating actual QGuiApplication
instance. For older Qt versions provide hint message for embedded for
possible need to set env variable. Also check if Qt was build with
Vulkan support and if not inform user and exit application.
Change-Id: I781f7e4e048dd8417aba14ecc2cb919b1b9ae136
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: I3900e9b9164222af90590018d478020cb66f6bc2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: I68db0b1720f21fec9492e9417258101024baf7ff
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: Iec76a086657ad8cda88c4590f68f55b0636bf958
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
| |
We cannot calculate percentage improvement from zero, so
instead print message stating this with test result it's
being compared.
Change-Id: Icea838931782fa661ddec505f5dd2ce1377e5a51
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
| |
QT_NO_AS_CONST is now defined for all modules, so this needs to
be updated in qmlbench tooling.
Change-Id: I88a8215970cf2860f31135b0e4af377a702dfe0f
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
| |
Change-Id: I0bc2d5e17d443b4569001a92795f1fcd34a18c76
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
| |
FontLoader.name is read-only in Qt6
Change-Id: I47c37419d55ca0721c8f7bb3f7fd22d76fa96b99
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: Idac775aec2f698a03c9390178c58fe1b3b45da85
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: I7600b23043a38e881d90de6eb980fef54e77e764
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
| |
Change-Id: I2c6e2f71463a80ebf47ad2553ad9df8b0e2f29f3
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
If we're going to add QML modules with qt_add_resources (which is a bad
idea, to be fixed separately), we should at least add complete QML
modules.
Change-Id: If029718c5c427dda4c62baeffed628869ef2d347
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-94148
Change-Id: I7cc0b1ade676c4f7f963915315c00e317582e56f
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
| |
Qt's Cmake build system no longer allows the project name to be
the same as any of the executables to be built.
Change-Id: I1e28acacc4a1e48440f97f979c5417df650a47c2
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
| |
Change-Id: I5e181231080bbd39077b3d8b2f2d6ff8cdbae8b2
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
We need to pick an appropriate OpenGL version in order to
support all the QQ3D benchmarks. This also means we have
to move the setup for the surface format until after
initializing the GUI application, but having this before
is not actually needed in our case anyway.
Change-Id: I98ad3399b0a00aba7252f4c8b646a073c8ec1584
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
Forcing an installation into /root is ... less than friendly.
Change-Id: I2ea451a1faea88a04dadfd68dec48ffb56601aac
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Generally a good idea if we're going to use any more advanced qmake
features.
Change-Id: I80fb590bc0f081a12be0f063b1c98b26401a3399
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
| |
No one needs to build this with Qt 5.0 or 5.1 anymore.
Change-Id: I1707781a7a1fc4c009bfb24be49691ad488a5d1f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The frame-count shell depends on disabling vsync to be able to
render as many frames as it can during 20 seconds. But the
logic was inverted in the condition that checked for the --shell
parameter, so the frame-count shell would never be detected and
the swap interval would never be set to 0.
This patch also updates the logic to take into consideration that
frame-count is the default now, so it will default to disabling
vsync.
Change-Id: I9d866a7fddfa46266ba1c8245b84e8389e00b154
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: I39cd000f38e7b86c13a45e0e80831f686afdd76a
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Add override
- Use range based for loops
- Constify
Task-Id: QTBUG-78695
Change-Id: I2084e7266447e95c3e84270d69b7ece07c593d84
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
| |
Missing from d10d9334d04de985ace1ea46bbfdf63c49a3d07f
Task-Id: QTBUG-78695
Change-Id: Iab8ebb6b1384b81157bd506777790232cde035e4
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: Ifbf61ac30df9029d4c4210d9c9687f1c74f8c46c
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: Icc404bb42b5ccbe1e050529852c3593461cb04b2
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: Ibcc7abd32be2c9ed66aa34b559ddec6ef59b4bc8
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: I6f76603940a45bc760052c9ca94b1807aa11e4e3
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: Ib0896b4e7b401521eef38e1b27901160757256fa
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
| |
Task-Id: QTBUG-78695
Change-Id: If7e8e5e9d631d9eb84bbdc3fd7c02e01ab24440c
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Qt 6, the Default style was renamed to Basic, and the style that is
used by default now depends on which platform the application is run
on.
Previously the Default (now Basic) style was used by default.
So, restore the Basic style as the default. This ensures consistent
results should the default ever change again.
Task-number: QTBUG-88672
Change-Id: If96dd9cccd5fd05256221991bfacb4ae7bd3a1c1
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
|
|
|
|
|
|
| |
Add support for building qmlbench with CMake
Change-Id: I85fd6ec6ef39beed8a8e067e121ddbca29b50bad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The table was filled with the same one number, leading to significantly
different visual results compared to 5.15, because tests relying on
random number generation for item positions placed all 1000 or so items
to the exact same position in the scene.
Amends 01a08c32dade506bcecb54e29f477d1ac1954bd2
Change-Id: I817de76b7142b68751b801ca9891d2afc7234acf
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
|
|
|
|
| |
Use qmlRegisterAnonymousType since qmlRegisterType with 0 params
is deprecated.
Use QRandomGenerator instead of qrand()
Change-Id: Ic25c445fa8a9e08147093ea40f1b87f4067ef8c1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
|
|
|
|
| |
Change-Id: I97482601d942db565ef760177a8df09c2c4edd87
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
|
|
|
|
|
|
| |
Fixes: QTBUG-85063
Change-Id: I7c6aa2b39994aa5c87d121e96b362d6f8b428387
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
|
|
|
|
|
|
|
| |
Its constructor needs a QDate and QTime, not just a QDate.
Change-Id: Id61995f84ecf7fd83645fcaac114c376001068ee
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
| |
Change-Id: I712e2867e0906690ffdbee5565ff3da1ec9c9ae9
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
| |
Provide documentation on how benchmark files are constructed, along
with some usage examples.
Change-Id: Ica3d12ece98e8c1f37d0290bbdf6671c91e539c1
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
|
|
|
|
|
|
|
| |
These are already removed in dev.
Change-Id: I1614d821f5320a27d0b83743e1389a5c91d15464
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-76229
Change-Id: I0c6d4c576075c9677af19c89756953cf21456f75
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
|
| |
Change-Id: I76bad16f97871aaa3d7238c5e13189ccccc441d2
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
|
|
|
|
|
|
|
|
| |
Fails to build with XCode 10 otherwise. Probably missing the
enablement of C++14 or something. But for now just stick with
C++11.
Change-Id: I80845e3fb965b5781fd281f3d758cc5517b9e89f
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
| |
Change-Id: I01be0574d6a09abe44336bcbe01ab6360396321f
Task-number: QTBUG-75585
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
main.cpp:161:69: error: no matching function for call to ?Result::Result(<brace-enclosed initializer list>)?
differencesInPercent << Result{testName, differenceInPercent};
Change-Id: I5cbc5495b42dd074fefa4b4e3db1b6d95b3586a0
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
| |
Change-Id: I7a21c214e302a5b2422185659e261db11374f62c
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
|
|
|
|
|
| |
Change-Id: I1f984d2290aa78904b5a61e18e6439438291fb99
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
| |
Change-Id: I47c04a1c5a3b90d7989d20992cbb0b3592dc9632
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
|
|
|
|
|
| |
Change-Id: If91b39f75e2215a4af125a226fa4b82086f3bd46
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Erik noted that the test here is actually broken, but rather than change
the benchmark, let's add a working one alongside it.
Change-Id: I68058bedcc9760c86a600d5d34da0f8147062692
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Mention that higher frames for the frame-count shell is better, lower
CoV is better, etc.
Change-Id: I33daa2ae168c7e64d59eb418f4e9df7232e24fce
Reviewed-by: Robin Burchell <robin.burchell@crimson.no>
|