Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build without SCRIPT_INTERFACE on Qt 5.7 #4565

Closed
Commits on Jan 15, 2019
  1. Fix build without SCRIPT_INTERFACE on Qt 5.7

    mirabilos committed Jan 11, 2019
     * without SCRIPT_INTERFACE, Qt 5.7 is enough
     * cursor.cpp depends on FractionWrapper
     * backwards-compatible QString + QStringRef construction
     * let Q_NAMESPACE and Q_ENUM_NS depend on SCRIPT_INTERFACE
     * Ms::Direction must be Q_DECLARE_METATYPE
     * elide plugin-related headers from the build without SCRIPT_INTERFACE
     * supply matching ifdefs for pluginManager calls in main code
    
    This is based on changes by ABL <antonio.lotti@alice.it>
    and I merely made it rely on the SCRIPT_INTERFACE compilation
    option more (so it does not break anything when SCRIPT_INTERFACE
    is on — that is, by default), to make backporting this easier.
    
    Add header defining DBL_MIN and DBL_MAX, and add multiple
    inclusion guards around "config.h" as it’s included in many
    places.
You can’t perform that action at this time.