Giter Site home page Giter Site logo

Comments (4)

AL3XEY avatar AL3XEY commented on September 4, 2024

There is one last error.
Sorry for not knowing anything about C++, I wish I could help with the code.

from mcserveradmin.

skatrak avatar skatrak commented on September 4, 2024

No problem, man. I know nothing about french! ;)
That error doesn't make any sense to me... It seems something about Qt generated files, not the C++ code I wrote... Have you tried deleting the build/ directory before you try to compile and run? Also the .qm files generated by running lrelease must be in res/translations/ in order for qmake to be able to add them to the resource file.

from mcserveradmin.

AL3XEY avatar AL3XEY commented on September 4, 2024

Yeah, I didn't use the lrelease command, sorry. Works fine for GCC 4.6.1 and MSVC 2010 now.
Isn't it possible to create the .qm files when compiling the project, by using directive or something?

from mcserveradmin.

skatrak avatar skatrak commented on September 4, 2024

I don't know whether that's possible or not, but I guess it's not too bad to have to go to Tools > External > Linguist > Release Translations (lrelease) from QtCreator to have it done for you, it's pretty straightforward.

I think they don't have that behaviour by default because usually you don't change your translation files every time you compile, but if you find a way let me know, that would be nice to do in some situations.

from mcserveradmin.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.