Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.8k Topics 51.2k Posts
  • Qt Cross Compilation issue for OpenSsl on MAC

    Solved
    2
    0 Votes
    2 Posts
    343 Views
    SGaistS
    Hi, The error is not shown. You have to move up the build output to find it. However, why use OpenSSL with iOS ? AFAIK, macOS and iOS uses the Secure Transport framework provided by Apple.
  • No option to install "Qt For Automation" in the online installer

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    P
    @JKSH thanks, I didn't get that for the open license i have to compile them on my own, will try that.
  • How to install "Qt for Automation"?

    Unsolved
    3
    0 Votes
    3 Posts
    3k Views
    JKSHJ
    See http://lists.qt-project.org/pipermail/development/2018-June/032852.html -- "There are no binaries for open source users. However open source users are free to build their own binaries using GPLv3." The modules that collectively form Qt for Automation are listed at http://doc.qt.io/QtForAutomation/qtautomation-overview.html
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • OpenGL rendering to QQuickFrameBufferObject not working when deployed

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Glad you found out and thanks for sharing ! Did you consider using the linuxdeployqt project ?
  • /usr/bin/ld: cannot find -lGL

    Unsolved
    2
    0 Votes
    2 Posts
    383 Views
    SGaistS
    Hi, What is your question ?
  • 1 Votes
    3 Posts
    3k Views
    J
    When Qt is compiled with -qt-qpa it expects to find a platform plugin named "qt". Thus it makes no sense to compile with -qt-qpa. I could override the platform plugin by setting the QT_QPA_PLATFORM environment variable before running the application.
  • Cannot Find -l<LibName>, with older compiler

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    RyanRR
    Yup! That Worked! I just had to delete the QWT folders in my /usr/local/ and /home/ Directories, download a fresh copy of qwt-6.1.3, and rebuild it using the qmake from the cross-compiler (in /usr/local/Qt-X.X.X-/bin/qmake) I was trying to use, and that did the trick! Thanks so much for the help!
  • Getting [main.o] error 1

    Unsolved
    2
    0 Votes
    2 Posts
    743 Views
    SGaistS
    Hi and welcome to devnet, Can you show the complete error log ?
  • This topic is deleted!

    Solved
    4
    0 Votes
    4 Posts
    61 Views
  • 0 Votes
    5 Posts
    2k Views
    Pablo J. RoginaP
    @Worly said in Qt cross platform compilation with QtRpi to rpi3 - could not find "eglfs": QtRpi has only up to 5.7.0 version of Qt, does that mean that I have to use v5.7.0 plugins or I can use the latest? Would you consider going through the steps from this guide? It allows you to cross compile Qt for RPi and it's been used with newer Qt versions and several RPi models.
  • Need help to understand how Qt Creator and Configure works

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    JKSHJ
    @SGaist said in Need help to understand how Qt Creator and Configure works: IIRC, the pre-built binaries are still using OpenSSL 1.0 because of "older available distribution". However, I don't know what version of OpenSSL is currently used for the Windows pre-built package. You're right. I installed Qt 5.11 for MSVC 2015 32-bit, and I had OpenSSL 1.0.2o 32-bit in my PATH. My app was able to download from a HTTPS site. @kragnfrol said in Need help to understand how Qt Creator and Configure works: QSslSocket::supportsSsl() return false on some configuration, even with ssleay32.dll and libeay32.dll in the same folder. What configuration did you use?
  • Build source code error:Index was outside the bounds of the array.

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JKSHJ
    @liuxin said in Build source code error:Index was outside the bounds of the array.: MSBUILD: error MSB4166: Child node "2" prematurely exited. Closing. You can find the diagnostic information in the file named MSBuild _ *. Failure.txt in the temporary file directory. And I found the error in MSBuild_39ebf552-cb19-4a8b-a728-d7d5dd58cf82.failure.txt: UNHANDLED EXCEPTIONS FROM PROCESS 16956: 2018/5/23 14:13:02 System.IndexOutOfRangeException: Index was outside the bounds of the array.。 The problem is in MSBuild, not Qt code. I think you'll need to ask Microsoft engineers on how to handle it. (This is probably not related to your problem, but it shows a bug in Visual Studio which makes it unable to compile Qt code: https://developercommunity.visualstudio.com/content/problem/76198/vs-2017-compiler-creates-broken-debug-build-using.html ) You can also try these, but I don't know what will work and what won't: Re-install your Microsoft tools Upgrade your Microsoft tools to the latest version Downgrade your Microsoft tools to an older version (for example, Visual Studio 2015) Try to build the code on a different computer
  • How to pass data via QThreads correctly?

    Unsolved
    1
    0 Votes
    1 Posts
    301 Views
    No one has replied
  • Unable to find the platform plugin

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    R
    I'm going to mark this as solved because I believe I've tracked down the issue to one of my dependencies, quazip, which a lot of other people seem to have trouble deploying with. If anyone has any experience with deploying a qt application with quazip, I welcome it.
  • 0 Votes
    11 Posts
    3k Views
    SGaistS
    It's pretty unusual to have the building of a framework as big as Qt as part of the build process of an application,
  • How to install Qt 3D of Qt 5.6.1 in Linux ?

    Moved Unsolved
    2
    0 Votes
    2 Posts
    801 Views
    VRoninV
    "in Linux" is a bit generic... also there is no reason to use an outdated patch version, use 5.6.3 at least for Ubuntu Xenial: sudo apt-add-repository -y ppa:beineri/opt-qt563-xenial sudo apt-get update sudo apt-get install qt56base qt56tools qt56declarative qt56quickcontrols2 qt563d See https://launchpad.net/~beineri
  • Adjustable timeout in Maintenance Tool

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    M
    Yes, I went a similar route - I downloaded the offline installer through the proxy and that went fine - however I cannot update the installation now which is annoying :| Anyway, you're right, this topic can be closed :)
  • QT Visual Studio Tools Embedded (Rpi)

    Unsolved
    1
    0 Votes
    1 Posts
    268 Views
    No one has replied
  • 0 Votes
    28 Posts
    42k Views
    ?
    I don't know the problems exactly. However ,I use the approaches which was published in the stackoverflow to solve this question. I typed the phrase"install_name_tool -change libmysqlclient.20.dylib /usr/local/mysql/lib/libmysqlclient.20.dylib libqsqlmysql.dylib" in the Terminal, and then it worked!!!!!! When I connect MySql to QT, I faced the problem about the permission. Then I changed the "hostname" and in the last , I can use QT to edit the Mysql database. Thx!!!!