麒麟编译,数学库头文件定义

This commit is contained in:
jiayulong 2026-05-13 10:16:11 +08:00
parent d739152896
commit 86d142d093
3 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ static Value getData(const QMap<const QtProperty *, PrivateData> &propertyMap,
const QtProperty *property, const Value &defaultValue = Value())
{
typedef QMap<const QtProperty *, PrivateData> PropertyToData;
typedef PropertyToData::const_iterator PropertyToDataConstIterator;
typedef typename PropertyToData::const_iterator PropertyToDataConstIterator;
const PropertyToDataConstIterator it = propertyMap.constFind(property);
if (it == propertyMap.constEnd())
return defaultValue;

View File

@ -1,6 +1,7 @@
#include "Gradient.h"
#include <QCoreApplication>
#include "math.h"
//extern char *GetBinDir(char *str);
BYTE GetRValue(COLORREF colour)

View File

@ -1,4 +1,4 @@
/*
/*
* QtColorSchemeComboBox.cpp
*
* Created on: 2013-5-27
@ -12,6 +12,7 @@
#include <QTextStream>
#include "qtColorSchemeComboBox.h"
#include "Gradient.h"
#include <math.h>
QtColorSchemeComboBox::QtColorSchemeComboBox(QWidget *parent):QtComboBox(parent), m_isShowText(true)
{