Median XL Offline Tools v0.6.4

Find a handful of guides and walkthroughs here!
TrebicsVagyok
Imp
5 | 0
kambala wrote:
TrebicsVagyok wrote:Thank you very much for your help!

So if I understand correctly, the simplest solution then:

- using QT creator IDE - 8.0.0
- with QT 5.15

The build is almost green, I have only one single error: no moc files are generated from the header files. I see that the repo doesn't contain files with 'moc_' prefix, so I have made some files generated somehow, I don't really know how. I've created .moc files manually from the 'moc_' prefixed files, and resolved 2-3 error messages that way. However, I'm missing one single moc file still

error: C1083: Cannot open include file: 'messagecheckbox_p.moc': No such file or directory

(there is no 'moc_' prefixed file for this header, so I cannot create it manually)

Please can you upload the messagecheckbox_p.moc file somewhere? Maybe I'm doing something wrong, but I'm using QT 5.15 with Creator 8.0 I tried to look it up, but found very old posts, and it's supposed to be a QT bug :/

moc files are created at build time. just built on macOS against Qt 5.15.2 in Qt Creator - the file is created, not sure what's going on on your side...


I suggest to try building in Visual Studio.



I tried the easier way with QT creator, because I didn't want to suck with legacy Visual Studio 2019, and specify everything manually... Since it is a legacy project, there are a lot of dependencies to need to match to success :/ And as I see, the IDE is a dependency too. Now I try to get VS 2019, because I'm using 2022 now
User avatar
kambala
Djinn
514 | 89
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
TrebicsVagyok wrote:I tried the easier way with QT creator, because I didn't want to suck with legacy Visual Studio 2019, and specify everything manually... Since it is a legacy project, there are a lot of dependencies to need to match to success :/ And as I see, the IDE is a dependency too. Now I try to get VS 2019, because I'm using 2022 now

if I'm not mistaken, prebuilt Qt 5 exists only for 2019.


FYI I still use 2019 and build releases with it.

you don't need to install whole Visual Studio 2019 application, just add respective toolset.
TrebicsVagyok
Imp
5 | 0
kambala wrote:
TrebicsVagyok wrote:I tried the easier way with QT creator, because I didn't want to suck with legacy Visual Studio 2019, and specify everything manually... Since it is a legacy project, there are a lot of dependencies to need to match to success :/ And as I see, the IDE is a dependency too. Now I try to get VS 2019, because I'm using 2022 now

if I'm not mistaken, prebuilt Qt 5 exists only for 2019.


FYI I still use 2019 and build releases with it.

you don't need to install whole Visual Studio 2019 application, just add respective toolset.


Thank you for the answer, but actually, I have tried almost everything and still I can't build the project.

I have installed Visual Studio 2019 with all existing C++ compiler versions. I get this error from Visual Studio, which is obviously false, because your build is green in your env

Image

Also, I downloaded an earlier version of QT extension for VS 2019 manually, because the latest one unfortunately doesn't run on the earlier VS 2019.

The QT Creator runs through the build, I actually only get warnings, but there is an error at the end, but I can't find out more details than that:

Image

Actually, I have no idea which combination of the many visual studio versions, c++ compiler versions, qt versions to use to conjure up your development environment to run the build successfully :/

Can you please describe the EXACT names and versions of the C++ compiler versions, of your Visual Studio / QT builder version, and the QT framework package version? If they match, they should all work for me too, I think. I don't have any more ideas, I think only the right combination of these will work unfortunately.

I use / have these dependencies for the build:

Image
Image

I know I sound obscure, I'm sorry, but I really want to do this, but I just don't have any more ideas of what I can do or what I can try. If we figure this out, I'll be happy to expand the readme on github with this information, if you'd like to accept it.

cheers
User avatar
kambala
Djinn
514 | 89
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
TrebicsVagyok wrote:...

ok, checked the MSVC project on Windows: turned out it was broken, just fixed it. But it works only with Qt 4, not going to change that for the time being.


however, in Qt Creator I can build against Qt 5 32-bit just fine. I use MSVC++ compiler 16.11.31729.503, but yours 16.4 should also work I believe. just make sure that your Kit is configured correctly (auto-detected ones are usually correct out of the box).

you can also try building with MinGW.
TrebicsVagyok
Imp
5 | 0
kambala wrote:
TrebicsVagyok wrote:...

ok, checked the MSVC project on Windows: turned out it was broken, just fixed it. But it works only with Qt 4, not going to change that for the time being.


however, in Qt Creator I can build against Qt 5 32-bit just fine. I use MSVC++ compiler 16.11.31729.503, but yours 16.4 should also work I believe. just make sure that your Kit is configured correctly (auto-detected ones are usually correct out of the box).

you can also try building with MinGW.


Thank you very much for your help, everything is green, and the build has been succeeded :cheers: :cheers: :cheers:
I used MV C++ Compiler 16.4.29613.14 (amd64) with QT 5.15.2 in Windows 10, and everything is working now! :yay:

Thank you again! This app is just awesome.
User avatar
kambala
Djinn
514 | 89
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
TrebicsVagyok wrote:Thank you very much for your help, everything is green, and the build has been succeeded :cheers: :cheers: :cheers:
I used MV C++ Compiler 16.4.29613.14 (amd64) with QT 5.15.2 in Windows 10, and everything is working now! :yay:

Thank you again! This app is just awesome.

glad that it worked!


btw I remembered one more option for visual studio: in the Qt extension there's an option to "import .pro file" - you can also try that, it'll generate MSVC project out of the Creator's .pro file.
User avatar
annoying cat
Monkey King
278 | 1
i haven't played for a while since my copy of offline tools is not displaying or not working at all. there's no error msg. i'm on win10 if that helps.
User avatar
kambala
Djinn
514 | 89
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
annoying cat wrote:i haven't played for a while since my copy of offline tools is not displaying or not working at all. there's no error msg. i'm on win10 if that helps.

which app version do you have, which mod version are you playing... come on, I'm not a telepath
User avatar
annoying cat
Monkey King
278 | 1
currently i'm using 6.4 for the app and 2.1 for the mod i think. my characters are fine, it's the app that i can't use.
User avatar
kambala
Djinn
514 | 89
Legendary Popularity Badge
Has a thread with over 250.000 views
Common Love Badge
Earned over 20 cookies
Common Guide Badge
Created a complete character guide
Great Contribution Badge
Is an active collaborator / developer
annoying cat wrote:currently i'm using 6.4 for the app and 2.1 for the mod i think. my characters are fine, it's the app that i can't use.

have you already tried preventing loading last used character and trying to load a different one? does the app process die immediately?