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.4k Posts
  • Qt Installer Framework: Spaces in target paths (Windows7-64)

    Unsolved spaces in paths installer win64
    9
    0 Votes
    9 Posts
    4k Views
    D
    @martonmiklos said in Qt Installer Framework: Spaces in target paths (Windows7-64): @Peter.Chorn How did you managed to import the Dir component? In QIF 3 dynamic page example, there is the following definition (installscript.js): var Dir = new function () { this.toNativeSparator = function (path) { if (systemInfo.productType === "windows") return path.replace(/\//g, '\\'); return path; } };
  • Qt vsaddin 2017 failing to create project

    Unsolved
    2
    0 Votes
    2 Posts
    503 Views
    RatzzR
    @Wanz said in Qt vsaddin 2017 failing to create project: error dialog saying "Object reference not set to an instance of an object". Do you have VS 2017 Installed ? Is so try clearing AppData of VisualStudio ,VSCommon . Some times u can reset user data . To do that run devenv /resetuserdata.
  • RPI installing cross-compiling

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    K-StrK
    Hello, yes I opened a new topic https://forum.qt.io/topic/99703/gdb-error-the-selected-build-of-gdb-does-not-support-python-scripting Kurt
  • Cannot download sedkit-env-qtwebkit in ubuntu 18.04

    Solved
    5
    0 Votes
    5 Posts
    888 Views
    D
    @jsulm Thank you for clarifying this. :)
  • Qt5.12.0 configure for iMx6 issue

    Unsolved
    1
    0 Votes
    1 Posts
    599 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    P
    I solved the problem. Actually this is the linker error. Some required libraries were missing, so I added them as per the Readme document of the GLG toolkit(for C++). I installed the compatible GLG program and in .pro file of Qt program the library path was properly included as : INCLUDEPATH += . /opt/glg3.7/include #comment (this line includes the header files) LIBS = -L/opt/glg3.7/lib -lglg_x11 -lglg_map_stub -lXt -lX11 -ljpeg -lpng -lz -ldl -lXft -lfontconfig -lfreetype #comment (-L includes the library folder and -l include the libraries itself)
  • QtPlatformHeaders and QCocoaNativeContext

    Solved
    4
    0 Votes
    4 Posts
    785 Views
    A
    Hi @SGaist , I actually found the code I was looking for in that old QtOpenCL project you linked. Turns out to be a lot simpler than I had originally thought! Very portable too. Here it is in case anyone searches in future: glWidget->makeCurrent(); if(CGLContextObj context = CGLGetCurrentContext()) { if(CGLShareGroupObj shareGroup = CGLGetShareGroup(context)) { cl_context_properties properties[] = { CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE, cl_context_properties(shareGroup), 0 }; auto appleCLContext = cl::Context(CL_DEVICE_TYPE_ALL, properties); auto availableDevices = appleCLContext.getInfo<CL_CONTEXT_DEVICES>(); for(auto& d : availableDevices) { qDebug() << d.getInfo<CL_DEVICE_NAME>().c_str(); } } } NOTE: This method is specific to Apple which uses sharegroups to initialise OpenCL/OpenGL interoperability. The Windows and Linux methods are different.
  • QT nmake exception “Undefined Interface” at QTCharts “cartesianchartaxis_p.h”

    Unsolved
    3
    0 Votes
    3 Posts
    594 Views
    T
    QtCharts, I did qmake CONFIG+="debug_and_release build_all" and after that Qtcharts quide says I need to do make/nmake but when I did I've got the error shown in the question
  • Building QT with compiler flag _ITERATOR_DEBUG_LEVEL=0

    Unsolved
    2
    0 Votes
    2 Posts
    548 Views
    SGaistS
    Hi and welcome to devnet, You have to modify the VS2017 mkspec for that.
  • Boot to Qt and Xenomai ?

    Unsolved
    2
    0 Votes
    2 Posts
    656 Views
    SGaistS
    Hi, Boot2Qt being a commercial product, you should contact the Qt Company directly. Note that there's also Qt Functional Safety that might be of interest.
  • Qt versions missing

    Unsolved
    11
    0 Votes
    11 Posts
    4k Views
    D
    for any ubuntu 18.04 users (like me) finding this discussion through web search... don't use the ubuntu QT install from apt-get, instead install open-source-QT from the QT website. It's installer program will install binaries, including qt-for-android into it's own subdirectory.
  • 1 Votes
    5 Posts
    8k Views
    VistoufV
    @SGaist It worked!! 😄😄😄😄 Thanks!!! So for anyone else who stumbled here, the trick was to get this package from the Qt installer : MSVC 2017 64-bit And then go in Qt Creator, and use the aforementioned package as a "kit" to compile the project.
  • Can't configure Qt 5.12.0 with Qt for WebAssembly in Linux lubuntu

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    SGaistS
    In the preferences, go to Build And Run, then Qt Versions. Once you added your custom Qt, create a Kit for it and you are ready to go.
  • macdeployqt 5.12.1 command not found

    Solved
    3
    0 Votes
    3 Posts
    2k Views
    A
    @J.Hilk I was trying to add the path, but my changes weren't saving. I tried again this morning and instead of closing the terminal to see if the changes were saved, I simply attempted to use macdeployqt and it worked! Now I have other issues to deal with and I need to figure out why my changes to path aren't saving, but at least I can use the macdeloyqt tool now! Thank You! Anton Bursch
  • Error while building/deploying - when executing 'qmake'

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Pablo J. RoginaP
    @LiDe is your issue solved? If so, please don't forget to mark your post as such! Thanks.
  • Error on build with Static Qt 5.9.0

    Solved
    3
    0 Votes
    3 Posts
    1k Views
    A
    solved by ./configure with -qt-zlib option.
  • This application failed to start because no Qt platform plugin could be initialized!

    Unsolved
    11
    0 Votes
    11 Posts
    41k Views
    J
    @koahnig VCLTL can let my qt program run with out VC run time VC Runtime is terrible now!
  • How to use OpenVINO library in Qt5.9.1 on Ubuntu

    Unsolved
    2
    0 Votes
    2 Posts
    873 Views
    jsulmJ
    @Hank_Lee LIBS should actualy be like this: LIBS += -LPATH_TO_LIBS_DIR -lLIBA_NAME http://doc.qt.io/qt-5/qmake-variable-reference.html#libs LIBS += -L/usr/local/lib -lopencv_ \ -lopencv_highgui \ -lopencv_core \ -lopencv_imgproc \ -lopencv_imgcodecs \ -lopencv_video \ -lopencv_videoio \ ...
  • How do we install a missing module?

    Unsolved
    17
    0 Votes
    17 Posts
    3k Views
    JKSHJ
    AFAIK, the "add" functionality only works in the Online installer.
  • Howto build QT5.10.0 static on MAC

    Unsolved
    16
    0 Votes
    16 Posts
    7k Views
    jsulmJ
    @mzimmers On Mac "qmake" without ".exe" :-)