Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Using Qt Add-ons
Forum Updated to NodeBB v4.3 + New Features

Using Qt Add-ons

Scheduled Pinned Locked Moved Installation and Deployment
9 Posts 5 Posters 5.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gguic
    wrote on last edited by
    #1

    Hi,

    I've been looking for many hours (days?) in vain. I'd like to use some add-ons for qt 5 alpha/beta especially the bluetooth one. Tho I can't get any information on how to download/install those addons. Does anyone know how to do so ?

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hpollak
      wrote on last edited by
      #2

      I don't know what "add-ons" you need, but I have built qt5 from git and there is a modul called

      "qtconnectivity"

      there are example for bluetooth in the directory.

      See allso the Project-File in the examples cause you have to configure QT to use the modul (QT += concurrent bluetooth widgets)

      hope this helps

      best regards
      Harry

      1 Reply Last reply
      0
      • G Offline
        G Offline
        gguic
        wrote on last edited by
        #3

        Yep seems like "qtconnectivity" is exactly what I need ! Thank you !
        I was looking for something like qtbluetooth at first, this is why I couldn't find it , plus It's in the beta version, not in the alpha contrary to what is said there: http://qt-project.org/wiki/Qt-Add-ons-Modules.

        So basically there's nothing special to do since qtconnectivity is already included in the beta package. Can't see the difference between Essentials and Add ons then...

        Though I have issues while running the configure and build :/ Still working on that... Did it happened to you as well Harry ?

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hpollak
          wrote on last edited by
          #4

          I had no problems by compiling, I'm running Opensuse 12.2 64Bit with gcc 4.7.
          First time when I tried to compile i had some dev-Packages not installed, after installating them, there where no problems.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sanction
            wrote on last edited by
            #5

            Hello !

            I'm trying to use qtconnectivity add-on in Qt creator but it's not working. I have built qt5 from git but Qt creator displays this error message:
            @Unknown module(s) in QT: bluetooth@

            I only added this following line to my .pro file:
            @QT += bluetooth@

            Does anyone of you know why ? I'm using Qtcreator 2.8.1 based on Qt 5.1.1 in Ubuntu 12.04.3.

            Thanks in advance guys,
            Best regard,
            Loïc.

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              Hi,

              Qt Bluetooth is released with Qt 5.2. Update your git repository (make sure you also get qtconnectivity.git) and build, or just download and install the Qt 5.2 beta from http://download.qt-project.org/development_releases/qt/5.2/5.2.0-beta1/

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sanction
                wrote on last edited by
                #7

                Thank you for your answer, I installed Qt 5.2 with .run file. And now when I'm trying to compile my project with Qt creator (here is my version):

                @Qt Creator 2.8.82 (3.0.0-beta)
                Basé sur Qt 5.2.0 (GCC 4.6.1, 32 bit)
                Compilé le Oct 22 2013 à 16:29:33
                Depuis la révision f5fa022de5@

                The compiler seems to find Bluetooth library but I have some problem with udev:

                @cannot find -ludev@

                Edit:
                /!\ SOLVED : The name of the repository to install is "libudev-dev". (for ubuntu just type "sudo apt-get install libudev-dev"). Thank you strahlex !
                /Edit:

                And I don't have this problem with the other version of Qtcreator (using Qt5.1.1 libraries). I don't think the problem come from my code maybe it come from my .pro file:
                @#TEMPLATE = app
                #TARGET =
                #DEPENDPATH += .
                #INCLUDEPATH += .

                Input

                HEADERS += MainWin.h
                ConnectWin.h
                ConfigurationWin.h
                GraphWin.h
                SOURCES += main.cpp MainWin.cpp
                ConnectWin.cpp
                ConfigurationWin.cpp
                GraphWin.cpp
                QT += core gui serialport bluetooth
                greaterThan(QT_MAJOR_VERSION, 4): QT += widgets@

                I will try to update and build my git repository. If you have any idea I will be really glad to read your solutions. ;)

                Anyway thanks for your help and your reactivity.
                Loïc.

                1 Reply Last reply
                0
                • strahlexS Offline
                  strahlexS Offline
                  strahlex
                  wrote on last edited by
                  #8

                  @Sanctlon: Install libudev-dev from your software repos.

                  @others:
                  In this repo:
                  https://qt.gitorious.org/qt/juhanajs-qtconnectivity/
                  is a QtConnectivity module with Android support. How can I build it for Qt 5.2 RC1?

                  Feel free to check out my website machinekoder.com
                  and my pet projects Intellicute and QtQuickVcp

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Sanction
                    wrote on last edited by
                    #9

                    @strahlex: Ok, it's working very well, thank you ! For adding a module I never succeed build a module correctly, and I supose that the Maintenance Tool can't help you ?

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved