Skip to content

Commit 7cf531f

Browse files
committed
don't use static lib for folderwizard
Fixes linking inkonsitencies
1 parent 8a6bb36 commit 7cf531f

File tree

5 files changed

+9
-16
lines changed

5 files changed

+9
-16
lines changed

src/gui/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ target_include_directories(OpenCloudGui PRIVATE models spaces creds)
9898
target_link_libraries(OpenCloudGui
9999
PUBLIC
100100
Qt::Widgets Qt::Network Qt::Xml Qt::Quick Qt::QuickWidgets Qt::QuickControls2
101-
folderwizard
102101
libsync
103102
Qt6Keychain::Qt6Keychain
104103
)
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
add_library(folderwizard STATIC
1+
target_sources(OpenCloudGui PRIVATE
22
folderwizard.cpp
33
folderwizardlocalpath.cpp
44
folderwizardsourcepage.ui
@@ -10,7 +10,3 @@ add_library(folderwizard STATIC
1010
spacespage.cpp
1111
spacespage.ui
1212
)
13-
14-
target_link_libraries(folderwizard PUBLIC Qt::Widgets libsync OpenCloudResources)
15-
set_target_properties(folderwizard PROPERTIES AUTOUIC ON AUTORCC ON)
16-
apply_common_target_settings(folderwizard)

src/gui/folderwizard/spacespage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SpacesPage : public QWizardPage
3939
GraphApi::Space *currentSpace() const;
4040

4141
private:
42-
Ui::SpacesPage *ui;
42+
::Ui::SpacesPage *ui;
4343
};
4444

4545
}

src/gui/newwizard/navigation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "navigation.h"
1+
#include "gui/newwizard/navigation.h"
22

33
#include <QHBoxLayout>
44
#include <QRadioButton>

src/gui/newwizard/setupwizardwidget.ui

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</size>
8282
</property>
8383
<property name="pixmap">
84-
<pixmap resource="../../resources/client.qrc">:/client/resources/light/warning.svg</pixmap>
84+
<pixmap>:/client/resources/light/warning.svg</pixmap>
8585
</property>
8686
<property name="scaledContents">
8787
<bool>true</bool>
@@ -91,7 +91,7 @@
9191
<item>
9292
<widget class="QLabel" name="errorMessageLabel">
9393
<property name="textFormat">
94-
<enum>Qt::RichText</enum>
94+
<enum>Qt::TextFormat::RichText</enum>
9595
</property>
9696
</widget>
9797
</item>
@@ -120,7 +120,7 @@
120120
<item>
121121
<spacer name="horizontalSpacer">
122122
<property name="orientation">
123-
<enum>Qt::Horizontal</enum>
123+
<enum>Qt::Orientation::Horizontal</enum>
124124
</property>
125125
<property name="sizeHint" stdset="0">
126126
<size>
@@ -136,7 +136,7 @@
136136
<item>
137137
<spacer name="horizontalSpacer_2">
138138
<property name="orientation">
139-
<enum>Qt::Horizontal</enum>
139+
<enum>Qt::Orientation::Horizontal</enum>
140140
</property>
141141
<property name="sizeHint" stdset="0">
142142
<size>
@@ -170,7 +170,7 @@
170170
<customwidget>
171171
<class>OCC::Wizard::Navigation</class>
172172
<extends>QWidget</extends>
173-
<header>navigation.h</header>
173+
<header>gui/newwizard/navigation.h</header>
174174
<container>1</container>
175175
</customwidget>
176176
<customwidget>
@@ -180,8 +180,6 @@
180180
<container>1</container>
181181
</customwidget>
182182
</customwidgets>
183-
<resources>
184-
<include location="../../resources/client.qrc"/>
185-
</resources>
183+
<resources/>
186184
<connections/>
187185
</ui>

0 commit comments

Comments
 (0)