Forums

OverviewV-Play 1 Support › V-Play installation with already installed QtCreator on Ubuntu

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #3985

    Solve

    Hello.
    How can I add V-Play to already installed QtCreator?
    I installed it from Ubuntu repository.

    #4017

    Alex
    V-Play Team

    Hi,

    Did you install the entire Qt SDK or just Qt Creator itself from the repository? V-Play currently only comes within the Qt installer as described in the installation guide (http://v-play.net/beta-area/installation-guide/), so you probably have to install a second instance of it in parallel for now.

    Cheers,
    Alex

    #4018

    Solve

    Hi,
    thanks for your response.
    I installed whole QtSDK from Ubuntu repository. I already tried installing V-Play in a way which is described in the installation guide and I get some errors which are probably related to files paths (fpsqmlviewer.h: No such file or directory).
    I might add that I installed V-Play QtSDK in /home/QtSDK as a user, not root.

    #4019

    Alex
    V-Play Team

    I see, we currently rely on the Qt installer and can’t ship our V-Play files within distribution-dependent package managers, the problem should however be fixable with your packages too.

    “No such file or directory” usually means that the header files can’t be found during your build. V-Play installs alongside the Qt libraries (with the help of a relative directory link), so you’re probably using not the Qt version from the installer but from your repository installation.

    It would be great if you could take some screenshots of your Qt SDK install dir (sub folder “Desktop”) and your “Qt versions” preferences pane (within Qt Creator -> Preferences -> Build and Run -> Qt Versions) and send them to , we would be happy to look further into this. :)

    Cheers,
    Alex

    #4020

    Solve

    Yes, I ticked only V-Play, because I thought that will be running on already installed libraries ūüėÄ I sent e-mail.
    Thanks for your help.

    #4663

    babylongreece

    Is that mean i cannot just download the v-play sdk.I already have qt creator and sdk installed which i download from nokia site.I dont’ want download the huge files again.Also the installer online version have issue compiling for harmattan.Only offline version work for both harmattan and symbian.

    #4665

    Alex
    V-Play Team

    Hi,

    I’m sorry to disappoint you, the Nokia SDK Installer is incompatible with V-Play as it doesn’t support https downloads. You can however chosse the custom V-Play installation in the installer and deselect all Qt SDK related packages, the installer then resolves dependencies for you and only downloads indispensable packages.

    We will however work on a solution to reuse existing Qt installations in the near future! :)

    Cheers,

    Alex

    #4667

    babylongreece

    Alex said:

    Hi,

    I’m sorry to disappoint you, the Nokia SDK Installer is incompatible with V-Play as it doesn’t support https downloads. You can however chosse the custom V-Play installation in the installer and deselect all Qt SDK related packages, the installer then resolves dependencies for you and only downloads indispensable packages.

    We will however work on a solution to reuse existing Qt installations in the near future! :)

    Cheers,

    Alex

    Then v-play is no no for me until this issue is resolve because symbian is still my primary development platform.I consider v-play because i am thinking of porting to android but now need to postpone or use neccessita

    #4708

    babylongreece

    If i install v-play sdk that comes with online qt installer,will this overwrite my currently installed qt sdk and qt creator from nokia.If i can use both then i see no problem in trying v-play

    #4710

    Alex
    V-Play Team

    No, you can choose the directory you want to install V-Play in, the V-Play installation will then be in parallel to your existing installation (if applicable, be sure to not check the “Remove old Qt Creator settings” checkbox during V-Play installation).

    Cheers,

    Alex

    #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]

    #4734

    Alex
    V-Play Team

    Hi,

    thanks a lot for your input! Actually¬†project files are not hardcoded to use the “QtCreatorVP”, but they are referencing the shipped Qt 4.8.1 toolchain. So the most elegant solution for using another Qt Creator is imho to open your Qt Creator’s preferences and add the V-Play Qt toolchain under “Build & Run” -> “Qt Versions” -> “Add…” which is located in V-PlaySDKInstallDir/Desktop/4.8.1/gcc/bin/qmake (Linux and Mac OS X).

    If you then change your active project’s Qt version settings (left tab “Projects”) to the V-Play toolchain you should be able to use oru project files without modifying them. :)

    Btw, we are shipping an updated version of our installer in the next couple of days, which removes the forced installation of QtCreatorVP and we will then also evaluate the possibility to reuse an existing installation. :)

    Alex

    #4740

    babylongreece

    Alex said:

    No, you can choose the directory you want to install V-Play in, the V-Play installation will then be in parallel to your existing installation (if applicable, be sure to not check the “Remove old Qt Creator settings” checkbox during V-Play installation).

    Cheers,

    Alex

    Spending my last two days fixing mess cause by V-Play.Alex say that if i install v-play,the installation will be parallel with my existing qt creator but after installing it mess up my old qt creator by nokia.After installing v-play,when i open my project with nokia (old) qt creator,symbian component is no longer available for import.When i try to import “com.nokia.symbian 1.1” it cannot be found anymore in qtsdk directory.Even when i open the same project with v-play qt creator,it is still the same.Already spending my last two to fix the issue and delete v-play and now still fixing it.Any users that still wish to use their nokia qt creator,do not use v-play as it will mess up later

    #4745

    Alex
    V-Play Team

    Hi,

    I’m sorry you had this problems with parallel installations. We also have several installation in parallel, but without any problems so far. We take this serious and will test this out again, especially with Symbian packages!

    As arkan1313 (and I) above mentioned you can at least install V-Play SDK and use it with the existing Qt Creator of Nokia SDK I guess.

    Thanks,

    Alex

Viewing 14 posts - 1 through 14 (of 14 total)

RSS feed for this thread

You must be logged in to reply to this topic.

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