#ifndef STABLE_H
#define STABLE_H
/*
Useage:
CONFIG += precompile_header
PRECOMPILED_HEADER += stable.h
*/
#include <QtCore>
#include <QtGui>
#ifdef _MSC_VER
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#pragma warning (disable:4819)
#endif // _MSC_VER >= 1600
#endif // _MSC_VER
#endif // STABLE_H
注意: Qt Creator -> Options -> Text Editor -> Behavior -> File Encodings 更改设置为 "UTF-8" "Add If Encoding Is UTF-8"