mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Fixes : appimage creation, patch name packages, logo
This commit is contained in:
parent
4631ea7fe7
commit
87b5315f54
4 changed files with 18 additions and 11 deletions
|
|
@ -99,6 +99,7 @@ App::App(int &argc, char *argv[])
|
|||
auto ignoreVSync = QSurfaceFormat::defaultFormat();
|
||||
ignoreVSync.setSwapInterval(0);
|
||||
QSurfaceFormat::setDefaultFormat(ignoreVSync);
|
||||
setWindowIcon(QIcon(Constants::WindowIconPath));
|
||||
lInfo() << "Loading Fonts";
|
||||
QDirIterator it(":/font/", QDirIterator::Subdirectories);
|
||||
while (it.hasNext()) {
|
||||
|
|
@ -256,6 +257,7 @@ void App::initCore() {
|
|||
#endif
|
||||
mEngine->rootContext()->setContextProperty("applicationName", APPLICATION_NAME);
|
||||
mEngine->rootContext()->setContextProperty("executableName", EXECUTABLE_NAME);
|
||||
|
||||
initCppInterfaces();
|
||||
mEngine->addImageProvider(ImageProvider::ProviderId, new ImageProvider());
|
||||
mEngine->addImageProvider(AvatarProvider::ProviderId, new AvatarProvider());
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ public:
|
|||
Q_PROPERTY(int maxMosaicParticipants MEMBER MaxMosaicParticipants CONSTANT)
|
||||
Q_PROPERTY(QStringList reactionsList READ getReactionsList CONSTANT)
|
||||
|
||||
|
||||
// For Webviews
|
||||
static constexpr char DefaultAssistantRegistrationUrl[] = "https://subscribe.linphone.org/register";
|
||||
static constexpr char DefaultAssistantLoginUrl[] = "https://subscribe.linphone.org/login";
|
||||
|
|
@ -117,8 +116,8 @@ public:
|
|||
//--------------------------------------------------------------------------------
|
||||
|
||||
static constexpr char LinphoneDomain[] = "sip.linphone.org"; // Use for checking if config are a Linphone
|
||||
static constexpr char WindowIconPath[] = ":/assets/images/linphone_logo.svg";
|
||||
static constexpr char ApplicationMinimalQtVersion[] = "5.10.0";
|
||||
static constexpr char WindowIconPath[] = ":/data/image/logo.svg";
|
||||
static constexpr char ApplicationMinimalQtVersion[] = "6.6.5";
|
||||
static constexpr char DefaultConferenceURI[] =
|
||||
"sip:conference-factory@sip.linphone.org"; // Default for a Linphone account
|
||||
static constexpr char DefaultVideoConferenceURI[] =
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ if (GIT_EXECUTABLE AND NOT(LINPHONEAPP_VERSION))
|
|||
COMMAND ${GIT_EXECUTABLE} describe --always
|
||||
OUTPUT_VARIABLE LINPHONEAPP_VERSION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../.."
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
@ -37,6 +37,12 @@ if (NOT(LINPHONEAPP_VERSION))
|
|||
set(LINPHONEAPP_VERSION "0.0.0")
|
||||
endif ()
|
||||
|
||||
set(LINPHONE_MAJOR_VERSION)
|
||||
set(LINPHONE_MINOR_VERSION)
|
||||
set(LINPHONE_MICRO_VERSION)
|
||||
set(LINPHONE_BRANCH_VERSION)
|
||||
bc_parse_full_version(${LINPHONEAPP_VERSION} LINPHONE_MAJOR_VERSION LINPHONE_MINOR_VERSION LINPHONE_MICRO_VERSION LINPHONE_BRANCH_VERSION)
|
||||
|
||||
set(LINPHONE_VERSION ${LINPHONE_MAJOR_VERSION}.${LINPHONE_MINOR_VERSION}.${LINPHONE_MICRO_VERSION})
|
||||
set(PACKAGE_VERSION "${LINPHONEAPP_VERSION}")
|
||||
|
||||
|
|
|
|||
2
external/linphone-sdk
vendored
2
external/linphone-sdk
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit ff8f01d91f4a37773541ef05fb3c29d759116264
|
||||
Subproject commit 0a11d2b01defb1fda8bf4cfef4388e65c4b71258
|
||||
Loading…
Add table
Reference in a new issue