Commit Graph

19 Commits

Author SHA1 Message Date
Lioncache
b2bd0cd326 General: Update to Qt6
Migrate over to Qt 6 so that we can keep the UI toolkit pegged at the
current major version.

Unfortunately this also means we have to gut a small feature in the
progress dialogs, since the extras module doesn't exist in Qt6 anymore.

Few things of note:

QVector<> is internally an alias of QList now, so any changeover is due
to that to make the semantics a little clearer.

QtConcurrent requires arguments to be swapped on some invocations, and
discarding instances need to use the global thread pool instead.

fromStdList(), etc can be replaced with range constructors.

--no-angle and other commands are removed from newer versions of
windeployqt

QVariant::Invalid (and other type IDs) are deprecated and also break
existing functionality. Instead we can return default constructed
QVariants where applicable, which restores functionality that would be
broken if left as is (e.g. many list would straight up not populate or
have wonky size hinting).

The reason for this is that the QVariant(QVariant::Type) constructor
models a unique kind of internal QVariant state where it's considered
to be in an invalid state, but accessing the (supposedly) invalid state
will instead return a default constructed value of the internal type.

This kinda sucks because this means genuinely invalid states that would
warrant an assertion or other type of error would be silently ignored
and execution would continue on as normal, so this also enforces
correctness a little bit (on top of, well, fixing all the broken UI
controls).
2025-11-29 19:54:35 -05:00
Lioncash
c242c49a99 CProjectSettingsDialog: Make use of Qt 5 signals and slots 2020-06-28 22:14:01 -04:00
Lioncash
d6752c2468 CProjectSettingsDialog: Mark strings as translatable where applicable 2020-06-28 04:43:20 -04:00
Lioncash
2b19b7584d CProjectSettingsDialog: Make use of in-class initializers where applicable 2020-06-28 04:40:32 -04:00
Lioncash
5ce6b972a0 CGameProject: Make use of size_t where applicable
Plays nicely with standard containers.
2020-06-18 06:14:26 -04:00
Jack Andersen
9a96deed0a Add *.nfs extract support 2019-11-24 17:50:08 -10:00
Jack Andersen
9f94db6c82 Linux build fixes 2019-05-25 20:24:13 -10:00
Aruki
7de85a5a2d Quickplay support 2019-04-06 15:53:05 -07:00
Aruki
0ae7b8686e More changes to how we handle text encoding, fixing up the code so it compiles now 2018-12-23 21:44:31 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
84d689e104 Changed EGame to an enum class. Created NGameList and NPropertyMap to change how templates are managed/saved/loaded. Added support for property map keeping track of ID/type pairs. 2018-10-07 17:53:19 -06:00
Aruki
588c4aa0bd Added support for building Wii de Asobu/Trilogy ISOs 2017-07-24 23:51:09 -06:00
Aruki
0ffbaefcde Added ability to edit the game name in opening.bnr; slightly reorganized world editor menu options 2017-07-10 16:43:53 -06:00
Aruki
096ef45bac Added support for building Wii ISOs 2017-07-09 15:44:42 -06:00
Aruki
9a52fe52d4 Added ability to rebuild the resource database from the project resources folder. Editor can detect if the resource database is corrupt on load and if so prompts the user to repair it. 2017-07-04 04:59:22 -06:00
Aruki
0a9b052413 Added progress bars for most major blocking operations 2017-05-21 18:01:09 -06:00
Aruki
31621874a6 Added preliminary support for building new ISOs 2017-05-20 23:29:09 -06:00
Aruki
560706d285 Fixed issues in MP3 package list building 2017-05-09 14:16:41 -06:00
Aruki
bdb753dca2 Added project settings dialog; added build name lookup functionality 2017-02-15 01:00:48 -07:00