Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › Felgo 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 Felgo to already installed QtCreator?
    I installed it from Ubuntu repository.

    #4017

    Alex
    Felgo Team

    Hi,

    Did you install the entire Qt SDK or just Qt Creator itself from the repository? Felgo currently only comes within the Qt installer as described in the installation guide (http://felgo.com/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 Felgo 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 Felgo QtSDK in /home/QtSDK as a user, not root.

    #4019

    Alex
    Felgo Team

    I see, we currently rely on the Qt installer and can’t ship our Felgo 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. Felgo 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 Felgo, 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
    Felgo Team

    Hi,

    I’m sorry to disappoint you, the Nokia SDK Installer is incompatible with Felgo as it doesn’t support https downloads. You can however chosse the custom Felgo 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 Felgo as it doesn’t support https downloads. You can however chosse the custom Felgo 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
    Felgo Team

    No, you can choose the directory you want to install Felgo in, the Felgo 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 Felgo installation).

    Cheers,

    Alex

    #4731

    arkan1313

    Hello guys,

     

    In my experience, It’s not possible to install only the Felgo SDK, there’s no way to uncheck the QtCreator (let’s call it QtCreatorVP) installation option from the Felgo online installer but DON’T WORRY, it will be installed inside the Felgo 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 Felgo SDK relative to it (why ? I don’t know).

     

    To check what I’m saying, go and take a look at FelgoSDK/Examples/FelgoSDK/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]/../../../FelgoSDK
      VPLAY_SDK_PATH = $$VPLAY_BASE_PATH
    } else: contains(MEEGO_EDITION,harmattan) {
      # Paths for MeeGo
      VPLAY_BASE_PATH = $$[QT_INSTALL_PREFIX]/../../../SDKs/FelgoSDK
      VPLAY_SDK_PATH = $$[QT_INSTALL_PREFIX]/../../../../Desktop/FelgoSDK
    } else: symbian: {
      # Paths for Symbian
      VPLAY_BASE_PATH = $$[QT_INSTALL_PREFIX]../FelgoSDK
      VPLAY_SDK_PATH = $$[QT_INSTALL_PREFIX]../../../Desktop/FelgoSDK
    }

    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 FelgoSDK/include directory (around line 60)

    # Set paths
    INCLUDEPATH += $$VPLAY_INCLUDE_PATH
    INCLUDEPATH += /home/arkan/workspace/FelgoSDK/Desktop/FelgoSDK/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/FelgoSDK/Desktop/FelgoSDK/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 Felgo works like a charm

     

    Cheers,

     

    [ArkaN]

    #4734

    Alex
    Felgo 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 Felgo Qt toolchain under “Build & Run” -> “Qt Versions” -> “Add…” which is located in FelgoSDKInstallDir/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 Felgo 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 Felgo in, the Felgo 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 Felgo installation).

    Cheers,

    Alex

    Spending my last two days fixing mess cause by Felgo.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
    Felgo 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 Felgo 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded