Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt5.1.0 Static linking, “This application cannot be statically linked to the fftreal library”

Qt5.1.0 Static linking, “This application cannot be statically linked to the fftreal library”

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lilgoldfish
    wrote on last edited by
    #1

    These are the exact steps that I took:

    1. Installed Qt 5.1.0 from this link and placed it in
      @C:\Qt\Qt5.1.0@
      http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc2/qt-windows-opensource-5.1.0-rc2-mingw48_opengl-x86-offline.exe

    2. Extracted sources and put it into
      @C:\Qt\Qt5.1.0\Source@
      http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc2/single/qt-everywhere-opensource-src-5.1.0-rc2.zip

    3. Installed Active Python 2.7 (Added to PATH) in:
      @C:\Python27@
      Ruby 200 (ticked the option to add to PATH when installing) in:
      @C:\Qt\Qt5.1.0\Source\Ruby200@
      and Perl64 in:
      @C:\Qt\Qt5.1.0\Source@

    4. Installed only "Client C API Library" portion from mysql-5.5.32-win32.msi: http://dev.mysql.com/downloads/installer/

    5. Ran
      @Qt5.1.0 for Desktop (MinGW 4.8 32 bit)@
      as admin and typed

    @configure -static -qt-sql-mysql -I C:\MySql\include -L C:\MySql\lib@

    all in one line. Like so: http://i.stack.imgur.com/lZeqm.png

    I noticed this http://i.stack.imgur.com/l4YE0.png when it prompted me to run
    @mingw32-make@
    (just above "WARNING:" It says my additional libraries are located in -LC:\MySql\lib without a space between L and C.

    1. I disregarded that and ran
      @mingw32-make@
      after the configure was done.

    After awhile, I get this error (at the bottom of image).

    http://i.stack.imgur.com/HI7W9.png

    What am I missing/not doing? I need some guidance. If there is some sort of 5.1.0 Static build guide that I can reference, that would be great! Thank you all ahead of time.

    My PATH has this
    @%APPDATA%\Python\Scripts;C:\Qt\Qt5.1.0\Source\Ruby200\bin;C:\cygwin;C:\Program Files (x86)\MiKTeX\miktex\bin;C:\Python27@

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved