v-play-2-13-1-qt-creator-4-4-plugin-improvements-2

Release 2.13.1: Qt Creator 4.4 Upgrade, Mac & Linux Improvements

By Christian

V-Play 2.13.1 adds support for Qt Creator 4.4 and brings improvements for developers using Mac & Linux. There are also various other fixes and new improvements, for example for the Flurry and OneSignal Push Notifcation plugin.

Let’s get to the details of these improvements…

Qt Creator 4.4 Support

QtCreator 4.4 adds many improvements, especially for developers using C++ in their project. If you didn’t know yet: you can mix C++ and QML code in your V-Play projects. There will be an in-depth blog post how to do this soon!

Our favorite new feature is the new inline annotations in the code editor: errors and warnings are now also shown in the text line without hovering over them. This makes the warnings & errors easier to spot and helps to improve code quality!

Qt Creator 4.4 Inline Annotations

To enable the new annotations, run these steps:

  1. In Qt Creator, click on Help > About Plugins
  2. Enter “Clang” to the filter and enable the ClangCodeModel plugin to load
  3. Restart Qt Creator
  4. Enjoy the new awesome inline annotations :)

There is also a new syntax highlighting for C++ code available now. Local, global and member variables, functions, declarations and output arguments are now distinguishable by their highlighting in the editor. This makes the C++ code better readable and easier to understand.

For iOS & Android developers, these are the highlights:

  • New UI for managing simulator devices on iOS.
  • Added support for Android API levels 25 & 26.
  • Added option to run commands before the Android app starts and after it stopped.

For more details on the new Qt Creator release, see the Qt Blog announcement about it here.

Mac & Linux Improvements

With this update, developers on Mac & Linux have a new “V-Play Kit” available. The benefit of this new solution is, that updating to future V-Play versions that use a different Qt version internally gets a lot easier, because the Qt version is now automatically updated for you.

Important Notice for macOS and Linux Developers

Follow these steps on macOS and Linux because otherwise you will not be able to use the new features of this update and your existing projects will not compile without this change. This is a one-time step required to make updating V-Play versions easier in the future:

1.) After you updated V-Play, open Qt Creator and click on the “Projects” icon on the left. You will now see the new “V-Play Desktop” kit greyed out. Then double-click on the greyed out V-Play kit on the left.

V-Play 2.13.1 Mac & Linux Qt Creator Activate New Kit

After double-clicking on the (new) grey kit, it will be used by default for your project:

V-Play 2.13.1 Mac & Linux Qt Creator Activate New Kit 2

2.) To also set the new V-Play kit as the default for your future projects, click on Tools / Options and select Build & Run. Then select the V-Play Kit and click on the “Make Default” button. Now the new V-Play kit will be the default for all your future projects and it will look like this:

V-Play 2.13.1 Mac & Linux Qt Creator Default Kit Selection

Note: If you already have Qt installed on your PC, installing V-Play on top of your existing Qt installation also gets a lot easier with this new feature! You can add V-Play to your Qt project with this guide.

Flurry & OneSignal Push Notification Improvements

This update fixes an issue for the Flurry Analytics plugin, which caused a crash if you did not set an apiKey.

If you want to send push notifications with the OneSignal plugin to a specific user from the OneSignal dashboard or from your custom server, the userId property now works properly (it returned an empty string before).

Also, the nickname users can enter in the V-Play Game Network ProfileView, will now be stored as a push notification tag for this user. This allows you to send messages to users based on this additional information.

We also updated the OneSignal iOS SDK. If you are using OneSignal for sending push notifications in your app, please download the latest library from here.

You can see these new additions in the OneSignal Dashboard. In this screenshot, you can see the “Player ID” which is now available with the userId property. And the new tag “_vpgnnickname” stored for users who entered a manual nickname:

OneSignal Dashboard User Tag and Player ID

More Fixes & Improvements

Besides the highlights mentioned above, there are many other fixes and improvements for the SDK. Some of them are:

  • Optimize the AppListView cacheBuffer for better scrolling performance.
  • Add a new VPlayGameNetwork::defaultUserName property. Set this property to your preferred default name that users who have not set any custom userName get prepended their userId with. The default value for this property is “Player %1”. For example for an app and not a game, you could set this to “User %1”. Or if you only want to display the userId without any prefix, you can set it to “%1”.
    This enables a better user experience for V-Play apps using V-Play Game Network & V-Play Multiplayer for user login, user management, user authentication and chat messages.

For a full list of improvements and fixes to V-Play in this update, please check out our change log!

How to Update V-Play

Test out these new features by following these steps:

  • Open the V-Play SDK Maintenance Tool in your V-Play SDK directory.
  • Choose “Update components” and finish the update process to get this release as described in the V-Play Update Guide.

V-Play Update in Maintenance Tool

If you haven’t installed V-Play yet, you can do so now with the latest installer from here. Now you can explore all of the new features included in this release!

For Mac & Linux developers, follow the steps explained above.

 

 

More Posts Like This

How to Make Cross-Platform Mobile Apps with Qt – V-Play Apps

How to Make a Qt app

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support