Results 1 to 8 of 8

Thread: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2013
    Posts
    142
    Thanks
    36
    Thanked 3 Times in 3 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    From my knowledge Qt Open-Source version cannot build statically.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    Quote Originally Posted by adutzu89 View Post
    From my knowledge Qt Open-Source version cannot build statically.
    The license doesn't have any impact on the code or its capabilities.
    Static vs. dynamic build is a setting at the configure stage.

    Cheers,
    _

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    Looks like your static Qt library does not have the Qt serial port module built and your dynamic library does.

  4. The following user says thank you to ChrisW67 for this useful post:

    Alex22 (17th November 2016)

  5. #4
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    Quote Originally Posted by ChrisW67 View Post
    Looks like your static Qt library does not have the Qt serial port module built and your dynamic library does.
    Thanks for replyiing. I built QSerialPort by Qt Creator in static and the problem is solved now.

  6. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,324
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    From my knowledge Qt Open-Source version cannot build statically.
    As anda_skoa said, the license has no impact on how the libraries are built. However, Qt Open Source is LGPL, so a program linked to statically to Qt cannot legally be sold as a commercial product. Alex22 should be aware of this if his program is not GPL.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  7. #6
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    Quote Originally Posted by d_stranz View Post
    Alex22 should be aware of this if his program is not GPL.
    Thaks for your comment. I am using this for only myself and it is not a commerical program.

  8. #7
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: I have this problem when building STATIC: "Unknown module(s) in QT: serial"

    Quote Originally Posted by d_stranz View Post
    However, Qt Open Source is LGPL, so a program linked to statically to Qt cannot legally be sold as a commercial product.
    The LGPL has no requirement that would prohibit selling software that is LGPL licensed itself, let alone something linking with an LGPL licensed library.

    Cheers,
    _

Similar Threads

  1. QML: module "QtQuick.Controls" plugin "qtquickcontrolsplugin" not found on iOS
    By ChristianH in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd August 2015, 17:53
  2. Replies: 5
    Last Post: 20th May 2015, 11:53
  3. Replies: 1
    Last Post: 2nd September 2014, 09:19
  4. QNetworkReply and "unknown error" problem
    By hybrid_snyper in forum Newbie
    Replies: 3
    Last Post: 3rd December 2012, 00:45
  5. Replies: 32
    Last Post: 25th August 2012, 23:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.