Skip to content

Commit b730341

Browse files
committed
unmangle merges
1 parent 19409cc commit b730341

File tree

5 files changed

+6
-23
lines changed

5 files changed

+6
-23
lines changed

cmake/macros/PackageCrashpadForDeployment.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ macro(PACKAGE_CRASHPAD_FOR_DEPLOYMENT)
1313
get_property(HAS_CRASHPAD GLOBAL PROPERTY HAS_CRASHPAD)
1414

1515
if (HAS_CRASHPAD)
16+
17+
if (WIN32)
18+
set_target_properties(${TARGET_NAME} PROPERTIES LINK_FLAGS "/ignore:4099")
19+
endif()
20+
1621
add_custom_command(
1722
TARGET ${TARGET_NAME}
1823
POST_BUILD

cmake/modules/FindCrashpad.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Once done this will define
66
#
77
# CRASHPAD_FOUND
8-
# DRACO_INCLUDE_DIRS
8+
# CRASHPAD_INCLUDE_DIRS
99
# CRASHPAD_LIBRARY
1010
# CRASHPAD_BASE_LIBRARY
1111
# CRASHPAD_UTIL_LIBRARY

interface/src/Application.cpp

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -601,24 +601,6 @@ bool setupEssentials(int& argc, char** argv, bool runningMarkerExisted) {
601601
qApp->setProperty(hifi::properties::APP_LOCAL_DATA_PATH, cacheDir);
602602
}
603603

604-
// FIXME fix the OSX installer to install the resources.rcc binary instead of resource files and remove
605-
// this conditional exclusion
606-
#if !defined(Q_OS_OSX)
607-
{
608-
#if defined(Q_OS_ANDROID)
609-
const QString resourcesBinaryFile = QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/resources.rcc";
610-
#else
611-
const QString resourcesBinaryFile = QCoreApplication::applicationDirPath() + "/resources.rcc";
612-
#endif
613-
if (!QFile::exists(resourcesBinaryFile)) {
614-
throw std::runtime_error("Unable to find primary resources");
615-
}
616-
if (!QResource::registerResource(resourcesBinaryFile)) {
617-
throw std::runtime_error("Unable to load primary resources");
618-
}
619-
}
620-
#endif
621-
622604
// Tell the plugin manager about our statically linked plugins
623605
auto pluginManager = PluginManager::getInstance();
624606
pluginManager->setInputPluginProvider([] { return getInputPlugins(); });

interface/src/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ int main(int argc, const char* argv[]) {
4646

4747
disableQtBearerPoll(); // Fixes wifi ping spikes
4848

49-
startCrashHandler();
50-
5149
QElapsedTimer startupTime;
5250
startupTime.start();
5351

libraries/shared/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ setup_hifi_library(Gui Network Script Widgets)
55

66
if (WIN32)
77
target_link_libraries(${TARGET_NAME} Wbemuuid.lib)
8-
9-
add_crashpad()
108
endif()
119

1210
if (ANDROID)

0 commit comments

Comments
 (0)