Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can I mix qt5.1 with qt 5.2 in Qt Creator to get access to Qserial from QT 5.1 while using latest QT5.2 and Creator3.0?
Forum Updated to NodeBB v4.3 + New Features

Can I mix qt5.1 with qt 5.2 in Qt Creator to get access to Qserial from QT 5.1 while using latest QT5.2 and Creator3.0?

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 3.7k 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.
  • C Offline
    C Offline
    cwpjr
    wrote on last edited by
    #1

    I searched the forum for "mix qt5.1 with qt 5.2 in Qt Creator" and did not see this addressed.

    After exstensive research on the migration of serial classes from a 3rd party add-on in QT5.1 I was mystified that it is not included in QT5.2.

    So is there a way to build apps in the latest QT / Creator version that utilize the QSerial from 5.1?

    I am not quit able to follow the instructions to get the source, compile and configure it to "add it" to the latest QT environment, and I would prefer to use an/the existing build.

    Thank in advance.

    Clyde

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

      Hi,

      Where did you get this 3rd-party add on from?

      Qt 5.1 AND Qt 5.2 officially include the Qt Serial Port module: http://qt-project.org/doc/qt-5/qtserialport-module.html -- would you consider using this instead?

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

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cwpjr
        wrote on last edited by
        #3

        Hi,

        I've seen your link and many other that state it's in QT5.2.
        Strangely it isn't in mine.

        I downloaded QT5.1 to get it and it is the official QT Serial Port Module,

        I installed the Ubuntu Touch SDK for QT about a month or so ago, which is QT5.2 and QT Creator 2.8.1. The Qt Serial Port module is not there.

        Perhaps I got a beta or pre-release?

        Sounds like I should get the latest again with the expectation it will be there, huh.

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ChrisW67
          wrote on last edited by
          #4

          If you use the provided online installer then QtSerialPort is an option you need to find and add if memory serves.

          You can use Qt Creator 3.0 to develop with any Qt4 or Qt5 versions.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cwpjr
            wrote on last edited by
            #5

            OK I'll see if I can get it to be included.

            My trouble has been wanting to create apps that use QT5.2 QtWidgets and QML, and then on top of that the missing QtSerialPort in my Qt5.2

            I'm starting to see some signs this may just work afterall.

            Thanks!

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

              Hi,

              AFAICS, this is the latest news on the Ubuntu SDK, which says it's still in Beta stage: http://developer.ubuntu.com/2013/07/ubuntu-sdk-beta-released/

              It is possible that features are missing. If you can't find it by following ChrisW67's hint, I recommend you ask the "Ubuntu developer community":http://developer.ubuntu.com/community/.

              Note: I know that if you get Desktop Qt from the Ubuntu Software Center you need to install modules separately (e.g. qtbase5-dev, qtdeclarative5-dev, qtmultimedia5-dev, etc.). Unfortunately, the Ubuntu package names don't correspond to Qt module names (instead, they correspond to "Qt's git repositories":http://qt-project.org/wiki/Qt_5_Structure). I don't know how they've structured the Ubuntu SDK.

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

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cwpjr
                wrote on last edited by
                #7

                Looking for the QSerialport module on git I see only source code.

                My Qt5.1 install has the module compiled.

                Where can I find the QT5.2 Qserial module and how do I add it to and existing qt5.2 install?

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kuzulis
                  Qt Champions 2020
                  wrote on last edited by
                  #8

                  [quote]
                  Where can I find the QT5.2 Qserial module and how do I add it to and existing qt5.2 install?
                  [/quote]

                  You can found all "here":http://qt-project.org/downloads . To install QtSerialPort you must select an "add-on" checkbox.

                  I don't know about availability of the QtSerialPort package on Ubuntu, but you can build it manually. Just open qtserialport.pro project file from the QtCreator and build it (with use a desired Kit's configuration, e.g. for 5.2.0). And next, open the console and change directory to the shadow build directory of QtSerialPort, and next, enter "sudo make install".

                  Or you can create a *deb package.. But it is beyond this subject.

                  Or you can wait while this package will be available on Ubuntu.. :)

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

                    [quote author="cwpjr" date="1387756376"]Where can I find the QT5.2 Qserial module and how do I add it to and existing qt5.2 install?[/quote]The same way you did it for Qt 5.1, really.

                    Please give details:

                    How did you install Qt 5.1?

                    How did you install Qt 5.2?

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

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      cwpjr
                      wrote on last edited by
                      #10

                      The way I got a QT5.1 installed, with it's own QtCreator and Qserial already included was from:

                      :http://download.qt-project.org/official_releases/qt/5.1/5.1.1/

                      It was an offline .run install.

                      I'll try the 5.2 version next!

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        ChrisW67
                        wrote on last edited by
                        #11

                        In the 5.2 Online Installer the compiled serial port stuff is installed in the:
                        Qt -> Qt 5.2.0 -> compiler -> Add-On modules
                        group and its corresponding source is in the:
                        Qt -> Qt 5.2.0 -> compiler -> Source Components -> Add-Ons -> qtserialport

                        (Substitute the relevant value for compiler)

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          cwpjr
                          wrote on last edited by
                          #12

                          So I installed (for my setup) the ..linux..x86..run and I have QtCreator 3.0, Qt5.2 and the add-on's I need.

                          From:

                          http://download.qt-project.org/official_releases/qt/5.2/5.2.0/

                          Cheers, Clyde

                          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