richelbilderbeek / djog_unos_2018

Project by the Uno's at DJOG 2018-2019: Nature Zen
GNU General Public License v3.0
6 stars 2 forks source link

.qrc resource management limits storage space for data files #525

Closed janderkkotlarski closed 5 years ago

janderkkotlarski commented 5 years ago

ISSUE: Trying to add about 2 or more Megabytes of file data using the .qrc resource management system in QT makes the compiler complaining about having to make an executable file of over a 100 Megabytes and not building it and leaving an error message.

WHAT TO DO: Find a different way of handling and moving data files that circumvents the .qrc resource management system and removing the unnecessary limit on the total file data size.

richelbilderbeek commented 5 years ago

Perhaps adding a second resource file helps?

Do add it to djog_unos_2018.pri in the RESOURCES section.

DynCoder commented 5 years ago

There should be an argument in the appveyor file that you might be able to use

Op ma 25 mrt. 2019 13:58 schreef Richel Bilderbeek <notifications@github.com

:

Perhaps adding a second resource file helps?

Do add it to djog_unos_2018.pri in the RESOURCES section.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richelbilderbeek/djog_unos_2018/issues/525#issuecomment-476184998, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab-Tkj6xoFEMpQU1-5TCNZdMYF3hya7fks5vaMfhgaJpZM4cGxDR .

DynCoder commented 5 years ago

Wait a second, i am pretty sure i added CONFIG += resources_big once, to solve the appveyor memory problem, but i can't find it back. That might be the reason appveyor runs out of memory every now and then.

DynCoder commented 5 years ago

@janderkkotlarski Try adding CONFIG += resources big before anything else please

richelbilderbeek commented 5 years ago

On Travis there is a clear error message:

/home/travis/build/richelbilderbeek/nature_zen/resources/Barachem_Tranquil_Canopy.ogg
djog_unos_2018: sfml_resources.cpp:403: void copy_file(const string&, const string&): Assertion `QFile::exists(base_name)' failed.

Is that unrelated to this Issue?

DynCoder commented 5 years ago

I believe it is unrelated to this. I asked him about that on his commit too, there's some function @janderkkotlarski added that i am dubious about. It should be necessary to add those functions, just replace the existing music filename in the existing function with yours to add your music (#510).

DynCoder commented 5 years ago

It also might have something to do with #521, which i will still have to investigate.

DynCoder commented 5 years ago

I'd like to introduce you to my new label (just for my vision, you may remove it if you don't like it and laughed at the joke (in the label description))

DynCoder commented 5 years ago

Seems to work perfectly fine on travis, please cite the compiler

janderkkotlarski commented 5 years ago

I do not know how to explain well enough what the problem is. I'm closing these issues.