Hello, im my default.h i put:
#define aString "aString";
#define aString "aString";
To copy to clipboard, switch view to plain text mode
if i want to use aString as a QString in my project i used to do in this way
...
...
...
QString ( aString )
...
To copy to clipboard, switch view to plain text mode
but if i want internazionalizzate it with "tr()" function what should i do?
i tried with tr
tr ( QString ( aString ) )
To copy to clipboard, switch view to plain text mode
but i get this error
main.
cpp:4396: error
: no matching function
for call to ‘main
::tr(QString)’
main.cpp:4396: error: no matching function for call to ‘main::tr(QString)’
To copy to clipboard, switch view to plain text mode
thx
Bookmarks