upgrade to 2.18

This commit is contained in:
Roy Qu 2023-03-11 08:32:52 +08:00
parent da23ae64ba
commit de6b17fcda
4 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,7 @@
Red Panda C++ Version 2.18
- fix: macos icon size overgrown
Red Panda C++ Version 2.17 Red Panda C++ Version 2.17
- enhancement: Add X86_64 AVX/AVX instruction descriptions to asm syntaxer. - enhancement: Add X86_64 AVX/AVX instruction descriptions to asm syntaxer.

View File

@ -8,7 +8,7 @@ isEmpty(APP_NAME) {
} }
isEmpty(APP_VERSION) { isEmpty(APP_VERSION) {
APP_VERSION = 2.17 APP_VERSION = 2.18
} }
contains(QMAKE_HOST.arch, x86_64):{ contains(QMAKE_HOST.arch, x86_64):{

View File

@ -243,19 +243,10 @@ void setTheme(const QString& theme) {
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
//QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
//#ifdef Q_OS_WIN
// QApplication::setAttribute(Qt::AA_DisableHighDpiScaling);
// QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
// qputenv("QT_SCALE_FACTOR_ROUNDING_POLICY","PassThrough");
// qputenv("QT_DEVICE_PIXEL_RATIO ","auto");
// qputenv("QT_AUTO_SCREEN_SCALE_FACTOR","false");
//#endif
QApplication app(argc, argv); QApplication app(argc, argv);
#ifdef Q_OS_MACOS
// Fix macOS overgrown icon size issue
app.setAttribute(Qt::AA_UseHighDpiPixmaps); app.setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QFile tempFile(QDir::tempPath()+QDir::separator()+"RedPandaDevCppStartUp.lock"); QFile tempFile(QDir::tempPath()+QDir::separator()+"RedPandaDevCppStartUp.lock");
{ {
bool firstRun; bool firstRun;

View File

@ -14,7 +14,7 @@ qsynedit.subdir = libs/qsynedit
APP_NAME = RedPandaCPP APP_NAME = RedPandaCPP
APP_VERSION = 2.17 APP_VERSION = 2.18
# Add the dependencies so that the RedPandaIDE project can add the depended programs # Add the dependencies so that the RedPandaIDE project can add the depended programs
# into the main app bundle # into the main app bundle