Changeset 107100 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Nov 22, 2024 2:22:42 AM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 166066
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r106350 r107100 49 49 50 50 /* Other VBox includes: */ 51 #include <iprt/arch.h> 51 52 #include <iprt/buildconfig.h> 52 53 #include <iprt/stream.h> 54 #include <iprt/system.h> 53 55 #include <VBox/err.h> 54 56 #include <VBox/version.h> … … 554 556 #endif /* VBOX_WS_NIX */ 555 557 558 /* Make sure we're not running inside an emulator (these days, 559 * running amd64 code in an emulator on arm64). */ 560 uint32_t const uNativeArch = RTSystemGetNativeArch(); 561 if (uNativeArch != RT_ARCH_VAL && uNativeArch != 0) 562 { 563 QString strMsg = QApplication::tr("This VirtualBox application was built for a different CPU architecture (<b>%1</b>) than the host (<b>%2</b>). Please reinstall.") 564 .arg(RTArchValToString(RT_ARCH_VAL)) 565 .arg(RTArchValToString(uNativeArch)); 566 QMessageBox::critical(0, QApplication::tr("Mismatching CPU Architecture"), 567 strMsg, QMessageBox::Abort, QMessageBox::NoButton); 568 break; 569 } 570 556 571 /* Create modal-window manager: */ 557 572 UIModalWindowManager::create();
Note:
See TracChangeset
for help on using the changeset viewer.