Mercurial > hg > easyhg
view common_osx.mm @ 369:19cce6d2c470
Look in installation path + Python version suffix for PyQt before looking in plain installation path
author | Chris Cannam |
---|---|
date | Thu, 24 Mar 2011 10:20:47 +0000 |
parents | 68aebc316898 |
children |
line wrap: on
line source
#include "common.h" #include <QString> #ifdef Q_OS_MAC #include <Foundation/Foundation.h> QString getUserRealName() { NSString *s = NSFullUserName(); return QString::fromLocal8Bit([s UTF8String]); } #endif