• Shawn Rutledge's avatar
    Fix various bugs in calqlatr · 5e3d81ec
    Shawn Rutledge authored
    
    It's still not a great example but at least it's somewhat usable now.
    - added files to .pro so you see them all in Creator
    - keypad is fixed size and the "tape" takes up the rest, so you can
      resize the window to be able to see long numbers
    - you can flick the ListView (MouseArea not on top of the whole thing!)
    - ListView scrolls to the bottom when you add numbers past the point
      that scrolling is necessary to see them
    - Clear, sqrt and +/- keys are functional
    
    Task-number: QTBUG-26556
    Change-Id: I485e4123ad6c24ca64bad3efc3acfc14587268d8
    Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
    Reviewed-by: default avatarAlan Alpert <aalpert@blackberry.com>
    5e3d81ec
src.pro 1.09 KiB
TEMPLATE = subdirs
isPlatformSupported() {
    process.depends = core
    webengine.depends = core
    webenginewidgets.depends = core webengine
    webengine_plugin.subdir = webengine/plugin
    webengine_plugin.target = sub-webengine-plugin
    webengine_plugin.depends = webengine
    webengine_experimental_plugin.subdir = webengine/plugin/experimental
    webengine_experimental_plugin.target = sub-webengine-experimental-plugin
    webengine_experimental_plugin.depends = webengine
    SUBDIRS += core \
               process \
               webengine \
               webengine_plugin \
               webengine_experimental_plugin
    # FIXME: We probably want a bit more control over config options to tweak what to build/ship or not.
    # Another example of where this could be necessary is to make it easy to build proprietery codecs support.
    !contains(WEBENGINE_CONFIG, no_ui_delegates): SUBDIRS += webengine/ui
    qtHaveModule(widgets) {
        SUBDIRS += webenginewidgets
} else {
    warning("QtWebEngine is not maintained for this platform/configuration and is therefore disabled.")