File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,11 @@ CONFIG += console
11
11
CONFIG -= app_bundle
12
12
13
13
# C++14 or higher version is required.
14
- CONFIG += c++14
15
- QMAKE_CXXFLAGS += -std =c ++14
14
+ # CONFIG += c++14
15
+ # QMAKE_CXXFLAGS += -std=c++14
16
+ # C++17 or higher version is required.
17
+ CONFIG += c++17
18
+ QMAKE_CXXFLAGS += -std =c ++17
16
19
17
20
macx {
18
21
QMAKE_CXXFLAGS += -stdlib =libc ++
Original file line number Diff line number Diff line change @@ -133,10 +133,16 @@ bool loadXlsx(QString fileName, QString& strHtml)
133
133
int row = cl.row - 1 ;
134
134
int col = cl.col - 1 ;
135
135
136
- QSharedPointer<Cell> ptrCell = cl.cell ; // cell pointer
136
+ // Update ShowConsole example for 9ab612f
137
+ // {{
138
+ // QSharedPointer<Cell> ptrCell = cl.cell; // cell pointer
139
+ std::shared_ptr<Cell> ptrCell = cl.cell ; // cell pointer
137
140
138
141
// value of cell
139
- QVariant var = cl.cell .data ()->value ();
142
+ // QVariant var = cl.cell.data()->value();
143
+ QVariant var = ptrCell->value ();
144
+ // }}
145
+
140
146
QString str = var.toString ();
141
147
142
148
cellValues[row][col] = str;
You can’t perform that action at this time.
0 commit comments