Multiple macOS fixes and include keepassxc-cli in DMG (#2165)
* Fixes including keepassxc-cli when building KeePassXC dmg on Mac. resolves #1697 * Fix Qt search path and Properties display on macOS * Simplify packaging POST_BUILD fixups * Various fixes to get cli to run on macos * Correct cli tests on macOS * Several macOS related GUI test fixes
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QFormLayout" name="formLayout_2">
|
||||
<property name="fieldGrowthPolicy">
|
||||
<enum>QFormLayout::ExpandingFieldsGrow</enum>
|
||||
</property>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="labelCreated">
|
||||
<property name="text">
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox">
|
||||
<widget class="QGroupBox" name="groupBox_3">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||||
<item>
|
||||
<widget class="QTableView" name="customDataTable">
|
||||
|
||||
@@ -30,7 +30,11 @@ PopupHelpWidget::PopupHelpWidget(QWidget* parent)
|
||||
{
|
||||
Q_ASSERT(parent);
|
||||
|
||||
#ifdef Q_OS_MACOS
|
||||
setWindowFlags(Qt::FramelessWindowHint | Qt::Drawer);
|
||||
#else
|
||||
setWindowFlags(Qt::FramelessWindowHint | Qt::Tool);
|
||||
#endif
|
||||
hide();
|
||||
|
||||
m_appWindow->installEventFilter(this);
|
||||
|
||||
@@ -34,6 +34,7 @@ NewDatabaseWizard::NewDatabaseWizard(QWidget* parent)
|
||||
{
|
||||
setWizardStyle(QWizard::MacStyle);
|
||||
setOption(QWizard::WizardOption::HaveHelpButton, false);
|
||||
setOption(QWizard::WizardOption::NoDefaultButton, false); // Needed for macOS
|
||||
|
||||
// clang-format off
|
||||
m_pages << new NewDatabaseWizardPageMetaData()
|
||||
|
||||
Reference in New Issue
Block a user