Kovid Goyal 95f29656fa Edit Book: Fix undocked windows not resizable on OS X
Caused by a regression in Qt.
https://bugreports.qt.io/browse/QTBUG-46882

Also, add the build scripts for calibre dependencies on OSX and linux to
the source tree.
2016-06-20 11:03:03 +05:30

12 lines
463 B
Bash
Executable File

#!/bin/bash
# See windows/notes.rst for instructions on slimming down Qt.
# For versions of Qt < 5.6 you need to apply this patch:
# https://codereview.qt-project.org/#/c/125923/
cd $SW/build/qt-* && \
rm -rf build && mkdir build && cd build && \
../configure -opensource -confirm-license -prefix $SW/qt -release -nomake examples -nomake tests -no-sql-odbc -no-sql-psql -no-qml-debug -I $SW/include -L $SW/lib && \
make -j2 && rm -rf $SW/qt && make install