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.7k Topics 51.0k Posts
  • Linux Qt installation - useful environment variables

    5
    0 Votes
    5 Posts
    8k Views
    L
    I am sorry, it must be my English which is not very good. I am trying to build Qt. I downloaded qt-everywhere-opensource-src-4.7.3.tar.gz and I read a page similar to http://doc.qt.nokia.com/4.7/requirements-x11.html in the doc folder. As you can see there are different libraries among which Xinerama. I installed all the libraries in the list of requirements. After that I run the configure script (./configure -v --prefix=$GLOBAL_PREFIX/qt/$QT_VERSION -opensource) for Qt and i received: Build type: linux-g++-64 Architecture: x86_64 Platform notes: - Also available for Linux: linux-kcc linux-icc linux-cxx qmake vars .......... cat: .qmake.vars: No such file or directory qmake switches ......... Build .................. libs tools examples demos docs translations Configuration .......... release shared dll largefile stl precompile_header mmx 3dnow sse sse2 sse3 ssse3 sse4_1 sse4_2 avx minimal-config small-config medium-config large-config full-config qt3support accessibility opengl reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-png png system-freetype system-zlib nis cups iconv x11sm xshape xsync xrender mitshm fontconfig xkb alsa xmlpatterns multimedia audio-backend svg script scripttools declarative release Debug .................. no Qt 3 compatibility ..... yes QtDBus module .......... no QtConcurrent code ...... yes QtGui module ........... yes QtScript module ........ yes QtScriptTools module ... yes QtXmlPatterns module ... yes Phonon module .......... no Multimedia module ...... auto SVG module ............. yes WebKit module .......... yes JavaScriptCore JIT ..... To be decided by JavaScriptCore Declarative module ..... yes Declarative debugging ...yes Support for S60 ........ no Symbian DEF files ...... no STL support ............ yes PCH support ............ yes MMX/3DNOW/SSE/SSE2/SSE3. yes/yes/yes/yes/yes SSSE3/SSE4.1/SSE4.2..... yes/yes/yes AVX..................... yes Graphics System ........ default IPv6 support ........... yes IPv6 ifname support .... yes getaddrinfo support .... yes getifaddrs support ..... yes Accessibility .......... yes NIS support ............ yes CUPS support ........... yes Iconv support .......... yes Glib support ........... no GStreamer support ...... no PulseAudio support ..... no Large File support ..... yes GIF support ............ plugin TIFF support ........... plugin (qt) JPEG support ........... plugin (system) PNG support ............ yes (system) MNG support ............ plugin (qt) zlib support ........... system Session management ..... yes OpenGL support ......... yes (Desktop OpenGL) OpenVG support ......... no NAS sound support ...... no XShape support ......... yes XVideo support ......... no XSync support .......... yes Xinerama support ....... no Xcursor support ........ no Xfixes support ......... runtime Xrandr support ......... no Xrender support ........ yes Xi support ............. no MIT-SHM support ........ yes FontConfig support ..... yes XKB Support ............ yes immodule support ....... yes GTK theme support ...... no SQLite support ......... plugin (qt) OpenSSL support ........ no Alsa support ........... yes ICD support ............ no As you can see I have no support for Xinerama (I don't know exactly the consequences) although I installed it. I also have no support for other packages i installed; Xinerama is just an example. If i check the configure output I can see: Xinerama auto-detection… () g++ -c -m64 -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++-64 -I. -I/usr/X11R6/include -o xinerama.o xinerama.cpp xinerama.cpp:43:37: fatal error: X11/extensions/Xinerama.h: No such file or directory compilation terminated. make: *** [xinerama.o] Error 1 Xinerama disabled. That's strange since I set CFLAGS and CPPFLAGS ( -I/usr/local/gcc/4.5.2//Xinerama/1.1.1/include). So I checked config.tests/x11/xinerama/Makefile and I have found Qt configuration test does not use my CFLAGS; it only search into /usr/X11R6/include. Is there an environment variable or configure option to make qt installation process aware of dependency libraries installed in non-standard path? cheers
  • 0 Votes
    8 Posts
    4k Views
    R
    [quote author="Volker" date="1305802133"]hehe :-) I just got used to them last year, but that's a good thing to do some quick tests in a clean environment.[/quote] Thank goodness there isn't a pain in the butt long procedure to do to install VM's, heh.. Argue enough with Command Line, =D.
  • QT-VS-Addin 1.1.9 problem

    2
    0 Votes
    2 Posts
    3k Views
    K
    This seems to be a problem for your download respectively your machine. I have downloaded the 1.1.9 add-ins a week ago. It is installed on Win7 64bit platform with VS2005. A new download of the exe is completely the same as the one I have downloaded a week ago. Hope this helps.
  • Let's build small Qt libraries! (Step 2: Optimize build-settings)

    36
    0 Votes
    36 Posts
    24k Views
    H
    Thanks for putting them up. I'll try them as soon as I find the time to. EDIT: I couldn't compile them. I think I'm out for now as Volker is right. It's eating plenty of time.
  • What package is needed to use QMotifDialog ?

    3
    0 Votes
    3 Posts
    2k Views
    S
    Yes. Thank you for your help !
  • [wince (winea7)] how to compile QtHelp ??

    4
    0 Votes
    4 Posts
    3k Views
    AndySA
    Windows EA 7 is not supported as we only support Windows CE 5 and 6. As for your comment about it lacking implementation that QtHelp needs I don't know where you have seen them from. If you run into a problem with trying to build then just follow up :)
  • Error while trying to create a static version of Qt

    23
    0 Votes
    23 Posts
    12k Views
    G
    If you rebuild from the sources, it is usually no problem. Rebuilding in a folder, where already some stuf is build is sometimes not working...
  • OSX deployment ~ frameworks folder = 50MB

    16
    0 Votes
    16 Posts
    5k Views
    H
    Ah, at least I can exclude i386 and ppc here. Good night and thanks for all the help. This forum became quickly a new home for me.
  • Qt Application Install/Running on Windows

    10
    0 Votes
    10 Posts
    4k Views
    A
    Thank you, Gerolf for the explanation. I thought I have to include these dlls also. I removed them and tested and found the app to the running without any issues. :)
  • Installation stops, crashes sh.exe and ssh-agent.exe

    4
    0 Votes
    4 Posts
    5k Views
    4
    I couldn't find msysGit in path, neither using console. I tried putting a space at the end and it still stops at 81% (Installing component Madde Qt 4.7.0) when sh.exe crashes. Ssh-agent.exe didn't crash this time though, and the install log looks diffrent. @C:\QtSDK\Maemo bash.exe: warning: could not find /tmp, please create! Creating default target fremantle-pr13 ... This may take a while ... Working on sysroot fremantle-arm-sysroot-20.2010.36-2-slim .....9....8....7....6....5....4....3....2....1....0 Creating missing links... done. Working on toolchain arm-2007q3-51sb6-gdb71-arm-none-linux-gnueabi_w32 .....9....8....7....6....5....4....3....2....1....0 Creating missing links... done. Working on tools qt-tools-4.7.0-m0.20.32-w32 .. ...9... .8....7....6....5....4....3....2....1....0 Creating missing links... done. Find toolchain binaries Link toolchain binaries @
  • [solved] Configure.exe fails for Qt 4.7.3 with Visual Studio-compiler

    30
    0 Votes
    30 Posts
    20k Views
    H
    After install C++ it worked finally. I can't tell yet whether the dll's I compiled will work b/c I can't test my application right now.
  • General Deployment on Windows

    4
    0 Votes
    4 Posts
    3k Views
    C
    http://developer.qt.nokia.com/forums/viewthread/4130 http://developer.qt.nokia.com/forums/viewthread/3915 http://developer.qt.nokia.com/forums/viewthread/6033 http://developer.qt.nokia.com/forums/viewthread/4538
  • 0 Votes
    8 Posts
    6k Views
    P
    Thanks...that was just a little hint...
  • On Windows XP rcc.exe (desktop) fails to run...

    2
    0 Votes
    2 Posts
    3k Views
    P
    Did you try for MSVC 2008 ??
  • Build Qt on Snow Leopard using GCC 4.6

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [howto] distinguish between console- and windows-application?

    10
    0 Votes
    10 Posts
    5k Views
    K
    Ups, here is the "link":http://developer.qt.nokia.com/forums/viewthread/5774/
  • [partly solved] Errors in cross compilation with Windows EA 7

    26
    0 Votes
    26 Posts
    15k Views
    J
    well - I don't see this as a Qt bug, it's more a Microsoft compiler bug... actually the compiler-switches that I defined for my selfmade mkspec configuration were causing the trouble: I used the same switches that I use at work for compiling, but there is a problem with the CE compiler's "/FA" switch - when this switch is defined, the "#line" directive behaves the strange way I described! (/FA is used to let the compiler produce/keep the assembly listing; this is useful for debugging purpose but not really neccessary in Qt compilation)
  • Dll's in subfolder of exe?

    17
    0 Votes
    17 Posts
    14k Views
    G
    That's correct, not for startup, I forgot. I used this for dynamically loaded dll with loadLibrary... and it does not create link files, it just expands the dll search path for a while :-)
  • Mac deployment problem

    10
    0 Votes
    10 Posts
    5k Views
    G
    Yes, unfortunately it's almost always these "little" problems that cost you more time than the actual application development :-/
  • Compile Qt 4.7.3 for windows ce with drag and drop and QGesture support

    3
    0 Votes
    3 Posts
    3k Views
    S
    One thing I've found on WinCE is that the icon used for drag and drop replaces the mouse cursor. On CE there's a maximum size for the cursor so if the icon you're trying to show is bigger than this it doesn't display.