[solved] compiler not "seeing" file in new path
-
... and there are qint8/16/32/64 as well as quint8/16/32/64 defined, too.
-
The definition for 64 bit int is "long long" or "long long int" on 32 bit OS.
@#ifdef UNIX32
/**- \typedef long long Int64
- \brief Defines an alias representing int 64.
/
typedef long long Int64;
/* - \typedef unsigned long long Uint64
- \brief Defines an alias representing uint 64.
/
typedef unsigned long long Uint64;
#endif
#if defined(UNIX64)
/* - \typedef long Int64
- \brief Defines an alias representing int 64.
/
typedef long Int64;
/* - \typedef unsigned long Uint64
- \brief Defines an alias representing uint 64.
/
typedef unsigned long Uint64;
#endif
#ifdef WIN32
/* - \typedef long long Int64
- \brief Defines an alias representing int 64.
/
typedef long long Int64;
/* - \typedef unsigned long long Uint64
- \brief Defines an alias representing uint 64.
*/
typedef unsigned long long Uint64;
#endif
@
I guess on a Mac it should work similar, but I do not have the experience.
-
mzimmer, regarding your include problem, try:
@
#include <tr1/cstdint>
@This works for me (on a Mac). cstdint is used in conjunction with boost/C++ TR1 standard, and is not in the standard include path, but in a tr1 subdirectory.
If you want to be portable, I would go with the Qt defined qintXXX types.
-
No, that's a matter of OS X/Finder/launchd and works this way for every application which is started this way.
If you change the PATH in a terminal, it is only valid in this very terminal/shell and the processes started from that shell. It's even not visible in other terminal windows or even tabs.
But you can always add your own extensions to the environment in Creator in the build and run settings.