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
  • Cross compile setup for TI processor

    Unsolved
    20
    0 Votes
    20 Posts
    6k Views
    R
    Ok I installed the source again in a different directory (/scratchnobackup/QtSource/5.10.0/Src)and am still getting the same error. (ran without defining a sysroot, as well as with it defined as /scratchnobackup/usr and just /scratchnobackup) arm-linux-gnueabihf-g++ --sysroot=/scratchnobackup --sysroot=/scratchnobackup -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -Wl,-rpath,/usr/local/Qt-5.10.0/lib -o qt -lpthread /usr/lib/gcc-cross/arm-linux-gnueabihf/5/../../../../arm-linux-gnueabihf/lib/../lib/crt1.o(.text+0x28): error: undefined reference to 'main' collect2: error: ld returned 1 exit status Makefile:106: recipe for target 'qt' failed make: *** [qt] Error 1
  • Online installer crashes

    Unsolved
    2
    0 Votes
    2 Posts
    732 Views
    jsulmJ
    @Kilix The online installer will not help you if you want to cross compile for Raspberry Pi as it does not provide Qt for Raspberry Pi. You need to cross compile Qt from source, see http://wiki.qt.io/Raspberry_Pi_Beginners_Guide
  • Qt License

    Unsolved
    2
    0 Votes
    2 Posts
    636 Views
    SGaistS
    Hi, Take a look at the sources. At the root of every Qt module there are the license files that concerns said module. And https://www.qt.io/terms-conditions/ for, as the name suggests, the terms and conditions of use.
  • usdk-target autosetup fails

    Unsolved
    3
    0 Votes
    3 Posts
    822 Views
    T
    Thanks for the suggestion. I'll give that a try...
  • Cannot build Qt Creator 4.4.0 from source

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    B
    I've tried some combination of compiler versions and found following result: Using GCC 5.1.0 compile qt source up to 5.10.0 ... OK. Using GCC 5.1.0 compile qt-creator source from 4.3.0 to 4.5.0 ... all failed at same error from treemodel.cpp complain something in predefined_ops.h Using GCC 7.2.0 compile qt-creator source 4.5.0 ... It's OK. So at least I found some way to build newer qt-creator source...
  • Remotely deploy

    Unsolved
    2
    0 Votes
    2 Posts
    535 Views
    SGaistS
    Hi, What distribution are you running on your target ? What version of Qt are you using ? What version of Qt Creator are you using ? What distribution are you running on your desktop machine.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    2 Views
  • Limited to 80gb for Qt?

    Unsolved
    6
    1 Votes
    6 Posts
    1k Views
    SGaistS
    Use the online installer. You can then add and remove the versions of Qt you want.
  • QtEverywhere installation for 64bit

    Unsolved
    3
    0 Votes
    3 Posts
    991 Views
    JKSHJ
    @ANTRIKSH said in QtEverywhere installation for 64bit: Hi, I am looking for the QT everywhere version for the 64 bit installation in linux platform. Please suggest the file version of it. https://www.qt.io/download
  • linuxdeployqt and licensing

    Solved
    18
    0 Votes
    18 Posts
    5k Views
    tekojoT
    @JonB said in linuxdeployqt and licensing: @tekojo Yep, I do understand all the stuff you say. And both you & @jsulm have confirmed/clarified my understanding, for which many thanks. Back in the old bad days, you would actually send a dvd or usb stick if someone asked. To satisfy this, I had thought of offering to send enquirers a printout of the Qt source code :) (You'll see there are posts on the web stating that this is acceptable, or could be construed as such.) However with the link suggestion now that will not be necessary, to the relief of my local tree population. On behalf of your local trees, thank you. I do understand that The Qt Company would like some support/money for Qt. (I often wonder which of you guys post here with your Qt Company hats on versus under your private user hat collection.) For the technical questions, when our developers show up here, they have their Qt hats on. I mean they develop Qt, so it's something that they just know. But most of the time the people who answer here on the forums are community members, so they deserve a lot of thanks. (on the other hand, if you asked about mountain climbing, dogs, japanese swords or something other a bit more exotic, our developers would get their free time hats on) Just for the record, so that you know when you see my posts, I am not a company, and I am not working for a company. I am (for my sins) doing voluntary work to help someone with a Qt project. Neither I nor the stakeholder receive any financial recompense for our work. So $500 p.m. to use Qt would never have been a viable proposition for us! But maybe, in addition to my questions, my posted answers in this forum trying to help others counts as some kind of "support" for the project :) Sorry, didn't mean to sound too tight back there. I didn't think you were a company or doing commercial work, it just needs to be stated so that when people later on run into this thread, they get the full picture. I think you are doing a good job here on the forums. Good questions and answers and a very good attitude :) It's exactly the kind of thing we value from community. Everyone here is (or should be) very grateful to you & the other experts for the kind & excellent support posts you make here. Thank you! I don't really think of myself as an expert (I work in a place where every single developer is at least 10 times better than me in coding...), but I try to help where I can.
  • Would like to know latest version of Qt5 on raspberry pi3

    Unsolved
    2
    0 Votes
    2 Posts
    596 Views
    K
    @t.h.c Hi and welcome to devnet There is no official pre-build Qt version for raspberry pi As with other embedded devices you would need to build Qt libs yourself. A guideline is here and some configure options For the compiler and cross-compiler you need to check the support site for raspberry and download from there.
  • Raspberry Zero W cross compile configuration

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    A
    I solved! I recreated the Ubuntu virtual machine from scratch and I followed all steps in the guide but there are some steps not perfectly explained.. Specially the step 10, the explanation is "get qtbase..." but at least in my case installing the version 5.9.1 (I decided to follow strictly.. :-P) qtbase was not present in my pc. So I tried installing 5.10 and voilĂ ! qtbase appears and I had the possibility to go ahead. Another point, maybe a step where to install necessary tools.. like git, but, ok, was easy to find in the git web-site. Finally I really happy to solve. Thanks Bye Andrea
  • QLineEdit and position within QgridLayout

    Unsolved
    11
    0 Votes
    11 Posts
    4k Views
    B
    @SGaist Thanks, QHash is very new to me. Will look into that.
  • Qt 5.10.0 GCC64bit - No compiler can produce code for this qtversion - x86-linux

    Solved
    5
    0 Votes
    5 Posts
    3k Views
    K
    Yesss... It works now. Thanks so much.
  • 0 Votes
    2 Posts
    2k Views
    S
    @moozoom I run in the same paradigm when I try to create a static linked library with Qt targeting Android and latter to use it with JINI on Android Studio. Reading you post I see you have almost the same problem like me with one difference. To me are working as far I use only std library My problem appears when I use QString for example in the library. Looks the static build does not statically includes the Qt framework dependencies. Finally did you find a solution? Me I run with this issue past over one month. Thanks
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Error running default HelloWorld QML project on clean install. [Win10, Qt5.10]

    Solved
    19
    1 Votes
    19 Posts
    5k Views
    mrjjM
    @maxoox Oh. good it works! Happy programming.
  • Executable deployment procedure.

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    sierdzioS
    See the link I posted, the readme contains examples... Regarding RPM/ DEB creation, it is described here: https://github.com/probonopd/linuxdeployqt/issues/9
  • Update Qt kits after the install + global questions about Qt installation

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    S
    Fine ! I found the 2017 versions of the library and used msvc2015_32 and msvc2017-64 and it works perfectly ! Thanks a lot !
  • qmake fails to find libraries

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    F
    It turns out that 'modules' directory was missing from '/usr/lib/qt/mkspecs' directory. Somehow, it was not installed properly (make install_mkspecs) on the target. I re-built qtbase on the target from scratch, and it seems to work now. Thank you for your answers.