anshuman-mathur / AppStudio-Testing

0 stars 0 forks source link

Test Case: Support for Qt 5.11.1 #8

Open anshuman-mathur opened 5 years ago

anshuman-mathur commented 5 years ago

This test is to confirm that the core functionality of AppStudio and Player works as expected after upgrading the Qt version to Qt 5.11.1

Steps to follow:

  1. Open AppStudio Desktop and sign in with your ArcGIS Online credentials.
  2. Click on the New App button to create an app either from one the Templates or from the Samples. If you already have an app that you have created with previous version of AppStudio, use that app.
  3. Run the app locally and confirm that it works as expected.
  4. Select your app and click on the Upload button to push it to ArcGIS Online.
  5. Open Player on your mobile device and sign in with you ArcGIS Online credentials.
  6. Download your app in Player and run it to confirm that it works as expected.
  7. On AppStudio Desktop, select your app and click on the Make button to build the your app.
  8. Select the platform for which you want to build your app, Click on Analyze Build and then Request Build to trigger Cloud Make.
  9. On your target device, browse to appstudio-ota.arcgis.com and sing in with your ArcGIS Online credentials.
  10. Download the built app on your device and test that it works as expected.
paul-gpsit commented 5 years ago

Ran our 'Fieldays' app from the AppStudio Desktop on Windows 10, got thousands of console messages about the same thing, something to do with layouts and anchors. I'm assuming we've coded it poorly and/or perhaps Qt 5.11.1 is a bit stricter on what it reports. Whatever the reason, our layouts on those pages aren't loading.

image

defiantgoat commented 5 years ago

@paul-gpsit We were seeing similar issues as well. I basically went to those areas of code and cleaned things up. Most often I had the following on an item:

anchors.verticalCenter: parent.verticalCenter

which I changed to:

Layout.alignment: Qt.AlignVCenter