Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. building qt
    Log in to post
    • All categories
    • A

      Unsolved Building Qt6 from source on Linux: qsb not found but it's there
      Qt 6 • building qt linux • • ale.re

      1
      1
      Votes
      1
      Posts
      295
      Views

      No one has replied

    • C

      Unsolved How to build Qt with clang under windows?
      General and Desktop • clang building qt qt 5.15 • • Crazy Sage

      4
      0
      Votes
      4
      Posts
      235
      Views

      Christian Ehrlicher

      @Crazy-Sage said in How to build Qt with clang under windows?:

      Clang 7.0.0

      And you're sure this ancient compiler supports all MSVC commands when you use clang-cl. What do you think you will gain when you compile Qt with clang-cl at all?

    • M

      Solved I am Newbie trying to build Qt5.15.1 on Windows using MinGW, but got linking error
      General and Desktop • mingw64 building qt windows 10 newbie • • mayita

      6
      0
      Votes
      6
      Posts
      261
      Views

      M

      @VRonin said in I am Newbie trying to build Qt5.15.1 on Windows using MinGW, but got linking error:

      That is an old post, the latest version of qcustomplot is compatible with all Qt 5.x versions as well as 6.0 (see https://www.qcustomplot.com/release/2.1.0fixed/changelog.txt)

      You were right. I missed the latest qcustomplot update in March.
      Thanks! :)

    • oblivioncth

      Unsolved Qt6 MSVC2019 Build Attempt: Cmake Error at .../QtProcessConfigureArgs.cmake:788 (Exit Code 1)
      Installation and Deployment • qt6 building qt cmake debug configure • • oblivioncth

      5
      0
      Votes
      5
      Posts
      1862
      Views

      oblivioncth

      Sorry, I hadn't come back to trying this for a while.

      I was able to get past this by dropping -optimize-size, but ran into other strange issues, primarily where a purely debug build had a bunch of errors and a mixed config build would not create the debug lib files (likely due to the same cause, just the errors didn't show or halt the build for some reason) even though the process appeared to complete successfully.

      Not having much luck with Qt6 it seems, which is a shame since I'd really like to make use of the upstream changes I submitted for it.

      Luckily at this point MSVCs internal CMake version has been updated to one that is compatible with Qt6, so the manual replacement is no longer needed.

      I'm currently trying to build 6.1 and was able to get past the configure step, though I had to disable tests (which this time I wanted to confirm it built correctly) due to QTBUG-88829, so I'll see if I have better luck this time. If the mixed build doesn't work I'll try just a debug one again to see if there are the errors I had before, or if not so that I can compile tests and see what might be failing.

    • U

      Unsolved Libjpeg conflict while building qt
      Mobile and Embedded • embedded linux building qt libjpeg configure ubuntu 18.04 • • Ucn_

      12
      0
      Votes
      12
      Posts
      727
      Views

      SGaist

      So everything looks correct...

      How are you loading your image in your application ?

    • C

      Solved Can't Build QTWebEngine With Xcode 11.5 on MacOS 10.15.5
      QtWebEngine • building qt xcode qtwebengine macosx • • ChiK

      2
      0
      Votes
      2
      Posts
      508
      Views

      C

      The following command fixed.

      sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

    • Tom asso

      Unsolved How to rebuild code in qtdatavis3d?
      Installation and Deployment • ubuntu 16.04 building qt • • Tom asso

      5
      0
      Votes
      5
      Posts
      436
      Views

      SGaist

      You should always use the full path to the qmake binary of the Qt version you want to use to build your project/library/module.

    • J

      Solved Building Qt 5.12.1 on Windows has install problems
      Installation and Deployment • source building qt • • JonathanA

      3
      0
      Votes
      3
      Posts
      543
      Views

      J

      Okay, I think the problem here is that I was doing 'jom release' when I built it and that just doesn't seem to work. If I just do 'jom', it seems to work fine.

    • T

      Unsolved Cannot build from source (v5.5.0 tag) - method "setSourceRect" in class "QSGSimpleTextureNode" not found
      General and Desktop • building qt 5.5 setsourcerect • • Thomas233

      23
      0
      Votes
      23
      Posts
      6741
      Views

      T

      Nevermind!

      Finally managed it to get a build with webengine. You have just to execute the "qmake -r WEBENGINE_CONFIG+=use_system_ffmpeg" BEFORE ".configure" then it works :-p

      I`ve deployed the build over to development machine without problems.

      There are now just two compiler errors left which I think can be solved:

      libicu18n.so.55 not found (I think i can solve it by installing a icu18n-5 package if there are any?) Undefined references to dbus: "dbus connection unref" and so on, much more errors referencing to dbus (this is actually coming from webengine)

      How can I make a build which does not use libicu and dbus or at least uses system ones (if that helps in my case) ?

    • N

      How to enable MEDIA_STREAM flag when building Qt?
      General and Desktop • qt5.4.2 configure building qt • • njozwiak

      1
      0
      Votes
      1
      Posts
      606
      Views

      No one has replied

    • E

      [SOLVED] Some modules are not available in configure
      Tools • configure building qt • • Eyeless

      7
      0
      Votes
      7
      Posts
      3870
      Views

      E

      @JKSH Thank you very much for your answer, I've successfully built Qt using your tutorial!

    • SeeLook

      Configure Qt build for Android x86 on Genymotion on older CPU-s
      Mobile and Embedded • android genymotion building qt • • SeeLook

      1
      0
      Votes
      1
      Posts
      958
      Views

      No one has replied

    • K

      Building Qt5.5(single) from source for Olimex A10Lime
      Mobile and Embedded • embedded linux arm cross compile building qt cortexa8 qt 5.5 • • kafanti

      5
      0
      Votes
      5
      Posts
      3014
      Views

      SGaist

      Yes, better to make clean build

    • H

      Specific extra LIBS folder for Release and Debug when Building Qt
      Installation and Deployment • icu configure building qt • • Hernan Martinez

      1
      0
      Votes
      1
      Posts
      558
      Views

      No one has replied

    • G

      Trying to build up Qt with static linking on windows via mingw+jom vs VS2012 & constantly getting it crashed, please help
      Installation and Deployment • building qt qt build failed qt crash building static • • gestalt

      2
      0
      Votes
      2
      Posts
      1355
      Views

      SGaist

      Hi and welcome to devnet,

      Don't put Qt in your PATH environment variable, it will not help and might even make things worse when building on Windows. You don't need to set all these variable and specially you should not append PATH to all of them. Also, why are you calling configure in C:\Windows\System32 ?

    • J

      [Solved] build eror for Qt 5.3.2 for arm-linux-none-gnueabi
      Mobile and Embedded • cross compile building qt qkeysequence • • Jeff Andle

      11
      0
      Votes
      11
      Posts
      2833
      Views

      J

      spoiled by windows... I expected the Ubuntu trash to empty itself. 13GB of trash later I can build, no problem.

      openssl 1.0.2.c --> BlueTiger's ESMTP library --> sending email from my arm device.

      now to figure out an inconsistent issue with openssl for win64 missing openssl32.lib in the install (but the dll is there and it worked last night!?)

      .

    • M

      Build Qt creator 3.4 on pi 2 [RESOLVED]
      QtonPi • qt creator raspberry qt5.5 building qt • • modjo756

      17
      0
      Votes
      17
      Posts
      8771
      Views

      R

      @FlorianB I'm trying to install qtcreator on a system that I don't have admin rights on. so:

      Install qt from source as I need the latest

      Install qtcreator

      Works fine, but as mentioned in your posts I manually did make install in qt5/qttools/src/designer/src/ lib, components, designer folder. Is there something else that I'm missing. I install qt to a prefix and set it as path.

      Installing qtcreator, qmake step works fine. I get the error (This is with current master Oct 7 2015):

      In file included from ../../../../qt-creator/src/libs/utils/shellcommand.cpp:31:0:
      ../../../../qt-creator/src/libs/utils/shellcommand.h:118:19: error: expected ‘;’ at end of member declaration
      ../../../../qt-creator/src/libs/utils/shellcommand.h:118:21: error: ‘override’ does not name a type
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: sorry, unimplemented: non-static data member initializers
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:90:84: error: in-class initialization of static data member ‘m_proxyFactory’ of non-literal type
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual Utils::SynchronousProcessResponse Utils::ShellCommand::runCommand(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter*)’:
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:338:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘Utils::SynchronousProcessResponse Utils::ShellCommand::runSynchronous(const Utils::FileName&, const QStringList&, int, const QString&, Utils::ExitCodeInterpreter*)’:
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:419:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘virtual bool Utils::ShellCommand::runFullySynchronous(const Utils::FileName&, const QStringList&, int, QByteArray*, QByteArray*, const QString&)’:
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:482:42: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp: In member function ‘void Utils::ShellCommand::setOutputProxyFactory(const std::functionUtils::OutputProxy*()&)’:
      ../../../../qt-creator/src/libs/utils/shellcommand.cpp:547:8: error: ‘class Utils::Internal::ShellCommandPrivate’ has no member named ‘m_proxyFactory’
      make[3]: *** [.obj/debug-shared/shellcommand.o] Error 1
      make[3]: Leaving directory /nfs2/jain/qt-creator-build/src/libs/utils' make[2]: *** [sub-utils-make_first] Error 2 make[2]: Leaving directory /nfs2/jain/qt-creator-build/src/libs'
      make[1]: *** [sub-libs-make_first-ordered] Error 2
      make[1]: Leaving directory `/nfs2/jain/qt-creator-build/src'
      make: *** [sub-src-make_first-ordered] Error 2

    • A

      Static build of Qt, Qt5Network linking error
      General and Desktop • static qt building qt • • agabor

      1
      0
      Votes
      1
      Posts
      1297
      Views

      No one has replied

    • C

      Environment setup for building static qt
      Installation and Deployment • building qt static msvc13 windows 7 • • chebhou

      3
      0
      Votes
      3
      Posts
      1251
      Views

      C

      @SGaist thanks , I have actually compiled without the script no errors thought while compiling, but I'm not sure if the errors will popup when i start using the build, but it would be really useful for future builds also I'm compiling OpenCV , so here is my installation paths :

      DirectX SDK : C:\Program Files\Microsoft DirectX SDK (June 2010)
      Microsoft SDK : C:\Program Files\Microsoft SDKs
      MSVC : C:\Program Files\Microsoft Visual Studio 12.0
      .NET : C:\Program Files\Microsoft.NET
      OpenSSL : C:\OpenSSL-Win32
      Qt source : C:\Qt\5.4.1

      thanks again for your time