Jump to content
Pages for logged out editors
Help about MediaWiki
What links here
Get shortened URL
In other languages
Hacking:Problems and solutions
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
== Build == === MSVS error: C2065: 'not': undeclared identifier === '''Problem:''' Building with MSVS fail with error C2065: 'not': undeclared identifier.<br /> '''Cause:''' By default MSVS doesn't support [https://en.wikipedia.org/wiki/C_alternative_tokens C++ alternative tokens].<br /> '''Solution:''' MSVS require the header to be included in order to use these identifiers. <source lang="cpp"> #ifdef Q_CC_MSVC #include <ciso646> #endif /* Q_CC_MSVC */ </source> === Rebuilding stuck on updating translations stage === '''Problem:''' Rebuilding is slow because rebuilding translations.<br /> '''Cause:''' Usually qmake runs only one time. And in this time we really need to call rebuild all translations.<br /> '''Solution:''' Run qmake second time. qmake will find that localization files already exist and skip this call in a makefile. === Error: definition of macro 'LATEST_TAG_DISTANCE' differs between the precompiled header === '''Problem:''' Build error: definition of macro 'LATEST_TAG_DISTANCE' differs between the precompiled header ('xxxx') and the command line ('xxxx').<br /> '''Cause:''' The macro 'LATEST_TAG_DISTANCE' shows distance between the last release and current commit. This information was changed since last creating precompiled headers. Most probable you made new commit or switched to new.<br /> '''Solution:''' You have two options. Use for building Debug mode. In this mode you don't need to worry about the macro. Or call full rebuild each time such an error occur.
Please note that all contributions to Seamly2D are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) (see
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
(opens in new window)
Retrieved from "