Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-libqt5-qtbase
0001-rename-qtmain-to-qt5main-to-be-different-t...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-rename-qtmain-to-qt5main-to-be-different-to-Qt4.patch of Package mingw32-libqt5-qtbase
From cb03b959bee61781f310ac73ac98aaba7900a671 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Wed, 19 Jul 2017 19:52:04 +0200 Subject: [PATCH] rename qtmain to qt5main to be different to Qt4 Change-Id: Icd54b5132174d6493b6643e1148dd292231b8cef --- mkspecs/common/msvc-desktop.conf | 2 +- mkspecs/common/winrt_winphone/qmake.conf | 2 +- mkspecs/features/create_cmake.prf | 8 ++++---- mkspecs/features/win32/windows.prf | 2 +- mkspecs/win32-g++/qmake.conf | 2 +- src/winmain/winmain.pro | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/mkspecs/common/msvc-desktop.conf b/mkspecs/common/msvc-desktop.conf index b7d2eec..431eacb 100644 --- a/mkspecs/common/msvc-desktop.conf +++ b/mkspecs/common/msvc-desktop.conf @@ -102,7 +102,7 @@ QMAKE_LIBS_OPENGL = glu32.lib opengl32.lib gdi32.lib user32.lib QMAKE_LIBS_OPENGL_ES2 = gdi32.lib user32.lib QMAKE_LIBS_OPENGL_ES2_DEBUG = gdi32.lib user32.lib QMAKE_LIBS_COMPAT = advapi32.lib shell32.lib comdlg32.lib user32.lib gdi32.lib ws2_32.lib -QMAKE_LIBS_QT_ENTRY = -lqtmain +QMAKE_LIBS_QT_ENTRY = -lqt5main QMAKE_IDL = midl QMAKE_LIB = lib /NOLOGO diff --git a/mkspecs/common/winrt_winphone/qmake.conf b/mkspecs/common/winrt_winphone/qmake.conf index 8c1a767..1b21c5d 100644 --- a/mkspecs/common/winrt_winphone/qmake.conf +++ b/mkspecs/common/winrt_winphone/qmake.conf @@ -81,7 +81,7 @@ QMAKE_LIBS += runtimeobject.lib QMAKE_LIBS_GUI = QMAKE_LIBS_NETWORK += ws2_32.lib -QMAKE_LIBS_QT_ENTRY = -lqtmain +QMAKE_LIBS_QT_ENTRY = -lqt5main QMAKE_IDL = midl QMAKE_LIB = lib /NOLOGO --- a/mkspecs/features/create_cmake.prf 2024-02-12 16:15:35.769761636 +0000 +++ b/mkspecs/features/create_cmake.prf 2024-02-12 16:15:58.813685966 +0000 @@ -336,14 +336,14 @@ } mingw { - CMAKE_WINMAIN_FILE_LOCATION_DEBUG = libqtmain$${QT_LIBINFIX}$${debug_suffix}.a - CMAKE_WINMAIN_FILE_LOCATION_RELEASE = libqtmain$${QT_LIBINFIX}.a + CMAKE_WINMAIN_FILE_LOCATION_DEBUG = libqt5main$${QT_LIBINFIX}$${debug_suffix}.a + CMAKE_WINMAIN_FILE_LOCATION_RELEASE = libqt5main$${QT_LIBINFIX}.a CMAKE_IMPLIB_FILE_LOCATION_DEBUG = lib$${CMAKE_QT_STEM}$${debug_suffix}.dll.a CMAKE_IMPLIB_FILE_LOCATION_RELEASE = lib$${CMAKE_QT_STEM}.dll.a } else { - CMAKE_WINMAIN_FILE_LOCATION_DEBUG = qtmain$${QT_LIBINFIX}$${debug_suffix}.lib - CMAKE_WINMAIN_FILE_LOCATION_RELEASE = qtmain$${QT_LIBINFIX}.lib + CMAKE_WINMAIN_FILE_LOCATION_DEBUG = qt5main$${QT_LIBINFIX}$${debug_suffix}.lib + CMAKE_WINMAIN_FILE_LOCATION_RELEASE = qt5main$${QT_LIBINFIX}.lib CMAKE_IMPLIB_FILE_LOCATION_DEBUG = $${CMAKE_QT_STEM}$${debug_suffix}.lib CMAKE_IMPLIB_FILE_LOCATION_RELEASE = $${CMAKE_QT_STEM}.lib --- a/mkspecs/features/win32/windows.prf 2020-07-26 18:00:46.208714273 +0000 +++ b/mkspecs/features/win32/windows.prf 2020-07-26 18:00:52.452664010 +0000 @@ -5,7 +5,7 @@ mingw:DEFINES += QT_NEEDS_QMAIN qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) { - isEqual(entryLib, -lqtmain) { + isEqual(entryLib, -lqt5main) { lib = $$QT.core.libs/$${QMAKE_PREFIX_STATICLIB}qtmain$$QT_LIBINFIX$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB PRE_TARGETDEPS += $$lib QMAKE_LIBS += $$lib diff --git a/mkspecs/common/g++-win32.conf b/mkspecs/common/g++-win32.conf index 6105033..47e48cb 100644 --- a/mkspecs/common/g++-win32.conf +++ b/mkspecs/common/g++-win32.conf @@ -67,7 +67,7 @@ QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32 QMAKE_LIBS_OPENGL_ES2 = -lgdi32 -luser32 QMAKE_LIBS_OPENGL_ES2_DEBUG = -lgdi32 -luser32 QMAKE_LIBS_COMPAT = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32 -QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain +QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqt5main QMAKE_IDL = midl QMAKE_LIB = $${CROSS_COMPILE}ar -rc diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro index 4140ae48de..9ae73db74b 100644 --- a/src/winmain/winmain.pro +++ b/src/winmain/winmain.pro @@ -2,7 +2,7 @@ !win32:error("$$_FILE_ is intended only for Windows!") TEMPLATE = lib -TARGET = qtmain +TARGET = qt5main DESTDIR = $$QT.core.libs CONFIG += static diff --git a/mkspecs/features/win32/windows.prf b/mkspecs/features/win32/windows.prf index 272170d428..47bebe72dc 100644 --- a/mkspecs/features/win32/windows.prf +++ b/mkspecs/features/win32/windows.prf @@ -6,7 +6,7 @@ contains(TEMPLATE, ".*app") { qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) { isEqual(entryLib, -lqt5main) { - lib = $$QT.core.libs/$${QMAKE_PREFIX_STATICLIB}qtmain$$QT_LIBINFIX$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB + lib = $$QT.core.libs/$${QMAKE_PREFIX_STATICLIB}qt5main$$QT_LIBINFIX$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB PRE_TARGETDEPS += $$lib QMAKE_LIBS += $$lib } else { -- 2.12.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor