跳到內容

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.7k 主題 51.1k 貼文
  • QMake INSTALL not picking up binaries

    qmake install pro file
    3
    0 評價
    3 貼文
    2k 瀏覽
    VRoninV
    Thanks for your answer It's actually a dll but I get what you are saying. I tried adding target.files = $$DESTDIRNAME/*.dll target.files += $$DESTDIRNAME/*.lib target.files += $$DESTDIRNAME/*.pdb where DESTDIRNAME is the same value as DESTDIR but no change
  • Which components should I install?

    7
    0 評價
    7 貼文
    6k 瀏覽
    K
    Did you check out this guide? You have a licensed version otherwise you cannot install vs-addin. I can hardly remember using Qt4 with a much older version of Visual Studio. All setup was done through vsaddin. No way I can help you here. I have not done this since switching some time back to Qt 5. BTW you may use also Qt libs and VS compiler through Qt creator. Already in the past there was not much feedback on Visual Studio and vs-addin. Not sure if this is still the same, but I fear so. At least with Qt creator and vs compiler some more isers seem to be around for helping.
  • Releasing Builds

    3
    0 評價
    3 貼文
    1k 瀏覽
    T
    Hey mcosta, Sorry for the late reply. I've had little time between work and family to sit down, and research this topic further. I'm familiar with the links you've posted above, but I'm a serious mess when it comes to understanding licensing. I can't seem to wrap my head around what these limit with regards to my project's requirements as I'm using a bunch of source code from a bunch of separate software projects. For example, the two projects I've currently developed with Qt are intended to be open source. Thing is, they use other 3rd party libraries separate from Qt: GLEW, freetype2, FreeImage. These libraries all use GPL, which is an option with Qt (along with LGPL). I'm assuming I don't have any issues redistributing the library binaries within my application, correct? Each project contains their own local include/lib directories for these libraries' header files, and pre-built binaries. I provide variants for Windows and OS X. On top of that, each I've written some simple classes to handle mundane things like math/graphics types and operations useful in developing 3D graphics applications as well as simple OpenGL boilerplate code that's intended to be used across multiple projects for multiple purposes outside of Qt. All of this source code I've written is meant to be used in a direct source nature instead of being built and linked as a separate library. That way, changes can be made on a project-to-project basis as needed. I also have have separate, private repo just to store these random plug-n-play header/source files that serve as a baseline standard that I'll refine and improve as I continue to use these files in different use-cases. I'd like to provide this source under the MIT license as a source code entity separate from these Qt projects, as they truly aren't meant to be proprietary to anything. I want them to be usable for both commercial and open source projects for everyone with the least amount of limitations. I believe the MIT license provides that. Is this possible? If so, would I just provide the MIT header at the beginning of every header/source file I produce? As far as deployment goes, I've been trying to statically link Qt against my project, and it hasn't worked out for me on Windows, Linux or OS X. I just uninstalled, and re-downloaded the OS X online installer of Qt5. I went through the installation steps, but it never gave me a selection as to which license I'd like to use. It just gave me an end-user agreement. I continued with the installation process, and the installer said it was grabbing the source packages from a qt-enterprise-src URL... Thing is, I don't want anything to do with an Enterprise build/license, and I'm not sure if I was getting the source, so I could configure Qt as a static build... Am I on the right track at all?
  • OpenSSL and Mac OS X

    Solved mac os x openssl qt 5.5.0
    7
    0 評價
    7 貼文
    15k 瀏覽
    B
    Thanks, -no-openssl -securetransport works. Now I can use Mac OS X native secure transport instead of OpenSSL.
  • 0 評價
    2 貼文
    2k 瀏覽
    SGaistS
    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 ?
  • Ok, qt is built. How to run it from command prompt???????

    2
    0 評價
    2 貼文
    727 瀏覽
    K
    Hi and welcome to devnet What do you mean qith running Qt? Qt is basically a library set often called Qt libs. There is an integrated development environment IDE called Qt creator. However, IIRC this is not part of what you have built. Also it is typically not required to do the build yourself. There are installers for several options of prebuilt version you may choose from. Building Qt libs yourself is typically required when you like to have a special version (e.g. a static version). However, you should be sure of what kind of license you want to use. For starting and going the first steps and understanding Qt, the open source version may be enough. Best way is to go to download page . I suppose this should help you to make some right choices. It is brandnew. Choose a desktop installer and install qt including Qt creator and possibly another compiler if required. After this there are a couple of tutorials to can follow.
  • 0 評價
    17 貼文
    15k 瀏覽
    A
    And what if I don't want to copy all the dlls ? Is there another way to specify the dll location only to my program ?
  • Difference between qt-sdk and qt-everywhere?

    5
    0 評價
    5 貼文
    4k 瀏覽
    K
    @Deval-Jariwala Where do you see qt-everywhere? You have installed a Qt version which is distributed with your Ubuntu. You can check which version you have there. Most likely not the latest Qt version, but in general good enough for a start. Many if not all linux distros have already a Qt package in their distribution.
  • 5.5.0 WinXP - Installed Binaries are invalid?

    2
    0 評價
    2 貼文
    2k 瀏覽
    JKSHJ
    Hi @MWPau, By default, MSVC 2012 does not produce binaries that are compatible with Windows XP because some features were introduced in Windows Vista or later. Try the MinGW binaries instead. If that still doesn't work, your options are: Download the Qt source code and build it on Windows XP yourself, OR Upgrade your OS
  • [SOLVED]Git Qt 5.4.2 branch to 5.5.0 branch

    git
    3
    0 評價
    3 貼文
    2k 瀏覽
    Paul H.P
    Thanks. What I ended up doing (in the top level), which appears to work correctly is: git checkout 5.5.0 git pull perl init-repository -f I got the -f option from the Getting Updates section of Building Qt5 from Git I should have read that more thoroughly before posting. Thanks again! Paul
  • Using Qt installer framework online

    qt ifw 2.0 online installe installer frame ftp repository
    1
    0 評價
    1 貼文
    1k 瀏覽
    尚無回覆
  • Build Error: cannot find -LGL on Ubuntu 14.04

    4
    0 評價
    4 貼文
    2k 瀏覽
    R
    @Zlatomir Thank you
  • Cross compile for LInux on windows machine

    3
    0 評價
    3 貼文
    1k 瀏覽
    R
    Hi, Yes, I already have a working linux (Ubunto) development station for Qt. The thing is that I was requested to prepare another development station, this time for windows. I did found some 2-3 posts in which someoone said that he did made it work, but unfortunately there is no tutorial or wiki on this. Trying to do that myself, I encounter many "challenges". At the buttom line, I still can't make it work. Regards, Ran
  • Need a short walkthrough on choosing correct compiler/sdk for 5.5.0 64 bit QT creator

    2
    0 評價
    2 貼文
    735 瀏覽
    Paul H.P
    What is your build environment? Have you built previous versions successfully or is this your first attempt? Paul
  • Qt 5.5: Compile with QtLocation technology preview

    qtlocation
    2
    0 評價
    2 貼文
    905 瀏覽
    sierdzioS
    Run configure in verbose mode to see why it is being skipped. Also, make sure QtLocation folder is there in your source directory.
  • Question of qt installed

    qt install
    5
    0 評價
    5 貼文
    2k 瀏覽
    SGaistS
    The real error is printed upper in the log, it's that one that gives all the details.
  • cross compile for ARM on windows

    3
    0 評價
    3 貼文
    1k 瀏覽
    R
    Hi, Do I need to cross compile the sources (Qt 4.8.1) in windows even though I already have them cross compiled in Linux ? (can't I just copy that tree instead) I have real trouble with preparing the windows environment. It feels like inventing the wheel. I need to prepare it for windows group who does not want to "dirty" their hands with linux staff. They don't understand why this is a difficult task. In theory they are right. Qt was expected to be platform independent. Why there is no decent tutorial for that. As to GDB, I had trouble even on ubuntu with the GDB of Qt. Do you think I can use eclipse for gdb remote denugging of Qt application ? Thanks for the time, Ran
  • Unable to build Android APK in Qt Creator

    Solved qt creator
    2
    1 評價
    2 貼文
    1k 瀏覽
    M
    Just if someone could need it in the future, I will say how I solved this issue: my company's IT office man uninstalled the enterprise antivirus we are using I opened Qt Creator, went to the buid settings of the chosen kit in Projects, and selected the Android Build SDK under Build Android APK: this time it was filled with the installed APIs (chose android-21) I closed Qt Creator IT man re-installed the antivirus I re-opened Qt Creator and all is working fine. Also writing "adnroid list targets" in cmd is really fast (1 sec vs 17 secs). Bye everybody
  • I want to use libvlc with qt

    11
    0 評價
    11 貼文
    11k 瀏覽
    L
    You don't need to include repo. - but I suspect that would be easier for You then manually set those paths. Error is related to missing include (either path or file is missing), I don't use that widget so I can't help You but error that You are experiencing is normal include issue (path issue).
  • QT Creator doesn't open after installation

    19
    0 評價
    19 貼文
    12k 瀏覽
    A
    Ah that makes sense then. VirtualBox is a bit behind when coming to upgrades for windows, especially ones that aren't officially released yet. It looks like it is having problems with OpenGL again which was a problem I noticed before in my vm using qt creator. I would definitely blame virtualbox at this point. Good news is they are pretty quick to get things working well within a month of official releases. Usually they are ready before the official release.