Forums

OverviewV-Play 1 SupportV-Play installation with already installed QtCreator on Ubuntu › Reply To: V-Play installation with already installed QtCreator on Ubuntu

OverviewV-Play 1 SupportV-Play installation with already installed QtCreator on Ubuntu › Reply To: V-Play installation with already installed QtCreator on Ubuntu
#4731

arkan1313

Hello guys,

 

In my experience, It’s not possible to install only the V-Play SDK, there’s no way to uncheck the QtCreator (let’s call it QtCreatorVP) installation option from the V-Play online installer but DON’T WORRY, it will be installed inside the V-Play installation directory so your previous QtCreator (from Nokia or whatever else) will be safe (but the configuration files located in the your home directory will be shared if you open the QtCreatorVP, so DON’T USE IT IF YOU DON’T WANT TROUBLES WITH YOUR QtCreator_Nokia).

 

If you don’t want to use the QtCreatorVP it’s ok, but you will have to change some lines on the projects files because they are HARDCODED to use the QtCreatorVP and localize the V-Play SDK relative to it (why ? I don’t know).

 

To check what I’m saying, go and take a look at V-PlaySDK/Examples/V-PlaySDK/shared/projectinclude.pri

# Set SDK and base path
macx|win32|linux-g++: {
  # Paths for Windows Mac OS X, and Linux
  VPLAY_BASE_PATH = $$[QT_INSTALL_PREFIX]/../../../V-PlaySDK
  VPLAY_SDK_PATH = $$VPLAY_BASE_PATH
} else: contains(MEEGO_EDITION,harmattan) {
  # Paths for MeeGo
  VPLAY_BASE_PATH = $$[QT_INSTALL_PREFIX]/../../../SDKs/V-PlaySDK
  VPLAY_SDK_PATH = $$[QT_INSTALL_PREFIX]/../../../../Desktop/V-PlaySDK
} else: symbian: {
  # Paths for Symbian
  VPLAY_BASE_PATH = $$[QT_INSTALL_PREFIX]../V-PlaySDK
  VPLAY_SDK_PATH = $$[QT_INSTALL_PREFIX]../../../Desktop/V-PlaySDK
}

and

# Only used for local debugging
testLocally {
  message(testLocally config variable is set...)
  VPLAY_BASE_PATH = $$PWD/../..
  VPLAY_SDK_PATH = $$VPLAY_BASE_PATH
  VPLAY_INCLUDE_PATH = $$VPLAY_SDK_PATH/src
  VPLAY_QML_PATH = $$VPLAY_SDK_PATH/qml

 

My QUICK solution to use my separate QtCreator  was to simply add to the INCLUDEPATH variable the full path to the V-PlaySDK/include directory (around line 60)

# Set paths
INCLUDEPATH += $$VPLAY_INCLUDE_PATH
INCLUDEPATH += /home/arkan/workspace/V-PlaySDK/Desktop/V-PlaySDK/include
DEPENDPATH += $$VPLAY_INCLUDE_PATH
QML_IMPORT_PATH += $$VPLAY_QML_PAT

and add the full path for the libraries here (around line 145)

linux-g++:contains(QMAKE_HOST.arch, x86_64): {
      #VPLAY_LIBRARY_PATH = $$VPLAY_LIBRARY_PATH/lib64
      VPLAY_LIBRARY_PATH = /home/arkan/workspace/V-PlaySDK/Desktop/V-PlaySDK/lib/lib64
  }

 

IMHO it’s possible to solve this problem by adding an extra step in the Online Installer Wizard asking for the QtSDK (in case user does not want to install it) and removing the relative paths to it.

 

I’m using FEDORA 18 (64 bits) and V-Play works like a charm

 

Cheers,

 

[ArkaN]

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