load libcurl at runtime (#33)

* load libcurl at runtime

* add warning to file tab if curl cant be loaded
This commit is contained in:
WarmUpTill
2020-09-13 09:13:09 +02:00
committed by GitHub
parent 3ec1e99f4b
commit 3fd3801e56
7 changed files with 137 additions and 14 deletions

View File

@@ -2404,7 +2404,7 @@
<attribute name="title">
<string notr="true">File</string>
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_9">
<layout class="QVBoxLayout" name="verticalLayout_6">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
@@ -2537,6 +2537,22 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="libcurlWarning">
<property name="enabled">
<bool>true</bool>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Failed to load libcurl! Accesssing remote files will not be possible!</string>
</property>
</widget>
</item>
<item>
<widget class="QPlainTextEdit" name="fileTextEdit"/>
</item>