Results 1 to 9 of 9

Thread: I got two problems when I used static compiled library of QT4

  1. #1
    Join Date
    Mar 2006
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default static linked error ???

    static compile Qt4 libs on linux

    configure shell under:
    Qt Code:
    1. ./configure --prefix=/usr/lib/qt-4.1.2-static -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-db2 -no-sql-oci -no-sql-tds -fast -static -release -no-qt3support
    To copy to clipboard, switch view to plain text mode 

    Error infomation under:
    Qt Code:
    1. g++ -static -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -o complexwizard .obj/release-static/complexwizard.o .obj/release-static/licensewizard.o .obj/release-static/main.o .obj/release-static/moc_complexwizard.o -L/root/qt-x11-opensource-src-4.1.2/lib -lQtGui -L/root/qt-x11-opensource-src-4.1.2/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
    2. /root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qlibrary_unix.o)(.text+0x62c): In function `QLibraryPrivate::load_sys()':
    3. : warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    4. /root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qfsfileengine_unix.o)(.text+0x22f4): In function `QFSFileEngine::owner(QAbstractFileEngine::FileOwner) const':
    5. : warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    6. /root/qt-x11-opensource-src-4.1.2/lib/libQtGui.a(qapplication_x11.o)(.text+0x117aa): In function `sm_performSaveYourself(QSessionManagerPrivate*)':
    7. : warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    8. /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0x9a): In function `GetHomeDir':
    9. : warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    10. /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0xea): In function `GetHomeDir':
    11. : warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    12. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x35b): In function `_IceTransSocketOpen':
    13. : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    14. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x3ef0): In function `_IceTransGetPeerNetworkId':
    15. : warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    16. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x1eab): In function `_IceTransSocketINETConnect':
    17. : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    18. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x1493): In function `_IceTransSocketINETCreateListener':
    19. : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    20. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2857): In function `FcFreeTypeQuery':
    21. : undefined reference to `FT_Get_BDF_Property'
    22. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2985): In function `FcFreeTypeQuery':
    23. : undefined reference to `FT_Get_BDF_Property'
    24. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2ad0): In function `FcFreeTypeQuery':
    25. : undefined reference to `FT_Get_BDF_Property'
    26. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c0c): In function `FcFreeTypeQuery':
    27. : undefined reference to `FT_Get_BDF_Property'
    28. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c8d): In function `FcFreeTypeQuery':
    29. : undefined reference to `FT_Get_BDF_Property'
    30. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2d6a): In function `FcFreeTypeQuery':
    31. : undefined reference to `FT_Get_X11_Font_Format'
    32. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2de6): In function `FcFreeTypeQuery':
    33. : undefined reference to `FT_Get_BDF_Property'
    34. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2e58): In function `FcFreeTypeQuery':
    35. : undefined reference to `FT_Get_BDF_Property'
    36. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x498): In function `FcConfigMessage':
    37. : undefined reference to `XML_GetCurrentLineNumber'
    38. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x52a): In function `FcConfigMessage':
    39. : undefined reference to `XML_GetCurrentLineNumber'
    40. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1947): In function `FcConfigParseAndLoad':
    41. : undefined reference to `XML_ParserCreate'
    42. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1984): In function `FcConfigParseAndLoad':
    43. : undefined reference to `XML_SetUserData'
    44. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x199e): In function `FcConfigParseAndLoad':
    45. : undefined reference to `XML_SetDoctypeDeclHandler'
    46. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19b8): In function `FcConfigParseAndLoad':
    47. : undefined reference to `XML_SetElementHandler'
    48. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19c9): In function `FcConfigParseAndLoad':
    49. : undefined reference to `XML_SetCharacterDataHandler'
    50. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19dd): In function `FcConfigParseAndLoad':
    51. : undefined reference to `XML_GetBuffer'
    52. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a23): In function `FcConfigParseAndLoad':
    53. : undefined reference to `XML_ParseBuffer'
    54. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a53): In function `FcConfigParseAndLoad':
    55. : undefined reference to `XML_ParserFree'
    56. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c44): In function `FcConfigParseAndLoad':
    57. : undefined reference to `XML_GetErrorCode'
    58. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c4c): In function `FcConfigParseAndLoad':
    59. : undefined reference to `XML_ErrorString'
    60. collect2: ld returned 1 exit status
    61. make: *** [complexwizard] 错误 1
    To copy to clipboard, switch view to plain text mode 


    The static compiled Qt4 lib seem not supprot i18n?
    Last edited by qintm; 16th April 2006 at 12:24.

  2. #2
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: static linked error ???

    Quote Originally Posted by qintm
    static compile Qt4 libs on linux
    Which exact version of Qt? Which exact Linux distribution?

    Quote Originally Posted by qintm
    Error infomation under:
    Qt Code:
    1. g++ -static -Wl,-rpath,/usr/lib/qt-4.1.2-static-full/lib -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib [...]
    To copy to clipboard, switch view to plain text mode 
    Strange, have you somehow modified Qt to add -static? This is not supposed to appear in the linker command line. Also why are two directories involved here, /usr/lib/qt-4.1.2-static-full and /usr/lib/qt-4.1.2-static?

    The static compiled Qt4 lib seem not supprot i18n?
    There's nothing related to i18n here.

  3. #3
    Join Date
    Mar 2006
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: static linked error ???

    I confirm the PATH have not problem.

  4. #4
    Join Date
    Mar 2006
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: static linked error ???

    Thanks for dimitri, at first
    Quote Originally Posted by dimitri
    Which exact version of Qt? Which exact Linux distribution?

    Linux Version : RedFlag Desktop 5.0(equate Fedora Core 4 update 2)
    Use zh_CN.gb18030 encode within it.


    Strange, have you somehow modified Qt to add -static? This is not supposed to appear in the linker command line. Also why are two directories involved here, /usr/lib/qt-4.1.2-static-full and /usr/lib/qt-4.1.2-static?

    This is not supposed to appear in the linker command line.

    Why? Are you introduce ,detailed please.

    There's nothing related to i18n here.
    "There's nothing related to i18n here"

    Yes,but I need !

    How to static compile the Qt4 libs?
    Last edited by qintm; 16th April 2006 at 12:51.

  5. #5
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: static linked error ???

    Quote Originally Posted by qintm
    Linux Version : RedFlag Desktop 5.0(equate Fedora Core 4 update 2)
    Fedora Core 4 update 2 does not exist. Maybe you mean Red Hat Enterprise 4 update 2 or plain Fedora Core 4?


    Quote Originally Posted by qintm
    This is not supposed to appear in the linker command line.

    Why? Are you introduce ,detailed please.
    As far as I can remember the build system doesn't put -static there. I suspect you have added it yourself.

    Actually I suspect you have two versions of Qt 4.1.2, one in /usr/lib/qt-4.1.2-static-full which you have modified yourself by adding -static somewhere and the other in /usr/lib/qt-4.1.2-static. These versions of Qt are somehow interfering. You have to describe what you're doing precisely if you want us to be able to help.
    • What is in /usr/lib/qt-4.1.2-static-full?
    • What is in /usr/lib/qt-4.1.2-static?
    • What is the value of PATH and QTDIR while you're building Qt in /root/qt-x11-opensource-src-4.1.2?
    • How do you configure Qt?

    Quote Originally Posted by qintm
    "There's nothing related to i18n here"

    Yes,but I need !
    I understand you need i18n. What I'm saying is that I don't see anything related to i18n in what you've posted so far, so there should be no problem with i18n. Don't bother with i18n.

  6. #6
    Join Date
    Mar 2006
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question I got two problems when I used static compiled library of QT4

    I got two problems when I used static compiled library of QT4. The first one is the error in using static compile and link. The second one is the disorder code in using Designer to make the interface.

    The configure option is as below:
    Qt Code:
    1. ./configure --prefix=/usr/lib/qt-4.1.2-static -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-db2 -no-sql-oci -no-sql-tds -fast -static -release -no-qt3support
    To copy to clipboard, switch view to plain text mode 

    Warning appeared at the end of compilation: It can’t use plug-in in static compilation. I wonder whether there is a plug-in mode in QT4’s international processing.

    In order to test the linking of static library, I used the program “complexwizard” which is belong to QT4. The error is as below:
    Qt Code:
    1. 1. g++ -static -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -Wl,-rpath,/usr/lib/qt-4.1.2-static/lib -o complexwizard .obj/release-static/complexwizard.o .obj/release-static/licensewizard.o .obj/release-static/main.o .obj/release-static/moc_complexwizard.o -L/root/qt-x11-opensource-src-4.1.2/lib -lQtGui -L/root/qt-x11-opensource-src-4.1.2/lib -L/usr/X11R6/lib -lpng -lSM -lICE -lXi -lXrender -lXrandr -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtCore -lz -lm -ldl -lpthread
    2. 2. /root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qlibrary_unix.o)(.text+0x62c): In function `QLibraryPrivate::load_sys()':
    3. 3. : warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    4. 4. /root/qt-x11-opensource-src-4.1.2/lib/libQtCore.a(qfsfileengine_unix.o)(.text+0x22f4): In function `QFSFileEngine::owner(QAbstractFileEngine::FileOwner) const':
    5. 5. : warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    6. 6. /root/qt-x11-opensource-src-4.1.2/lib/libQtGui.a(qapplication_x11.o)(.text+0x117aa): In function `sm_performSaveYourself(QSessionManagerPrivate*)':
    7. 7. : warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    8. 8. /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0x9a): In function `GetHomeDir':
    9. 9. : warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    10. 10. /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0xea): In function `GetHomeDir':
    11. 11. : warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    12. 12. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x35b): In function `_IceTransSocketOpen':
    13. 13. : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
    14. 14. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x3ef0): In function `_IceTransGetPeerNetworkId':
    15. 15. : warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    16. 16. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x1eab): In function `_IceTransSocketINETConnect':
    17. 17. : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    18. 18. /usr/X11R6/lib/libICE.a(transport.o)(.text+0x1493): In function `_IceTransSocketINETCreateListener':
    19. 19. : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibcversion used for linking
    20. 20. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2857): In function `FcFreeTypeQuery':
    21. 21. : undefined reference to `FT_Get_BDF_Property'
    22. 22. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2985): In function `FcFreeTypeQuery':
    23. 23. : undefined reference to `FT_Get_BDF_Property'
    24. 24. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2ad0): In function `FcFreeTypeQuery':
    25. 25. : undefined reference to `FT_Get_BDF_Property'
    26. 26. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c0c): In function `FcFreeTypeQuery':
    27. 27. : undefined reference to `FT_Get_BDF_Property'
    28. 28. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2c8d): In function `FcFreeTypeQuery':
    29. 29. : undefined reference to `FT_Get_BDF_Property'
    30. 30. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2d6a): In function `FcFreeTypeQuery':
    31. 31. : undefined reference to `FT_Get_X11_Font_Format'
    32. 32. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2de6): In function `FcFreeTypeQuery':
    33. 33. : undefined reference to `FT_Get_BDF_Property'
    34. 34. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcfreetype.o)(.text+0x2e58): In function `FcFreeTypeQuery':
    35. 35. : undefined reference to `FT_Get_BDF_Property'
    36. 36. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x498): In function `FcConfigMessage':
    37. 37. : undefined reference to `XML_GetCurrentLineNumber'
    38. 38. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x52a): In function `FcConfigMessage':
    39. 39. : undefined reference to `XML_GetCurrentLineNumber'
    40. 40. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1947): In function `FcConfigParseAndLoad':
    41. 41. : undefined reference to `XML_ParserCreate'
    42. 42. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1984): In function `FcConfigParseAndLoad':
    43. 43. : undefined reference to `XML_SetUserData'
    44. 44. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x199e): In function `FcConfigParseAndLoad':
    45. 45. : undefined reference to `XML_SetDoctypeDeclHandler'
    46. 46. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19b8): In function `FcConfigParseAndLoad':
    47. 47. : undefined reference to `XML_SetElementHandler'
    48. 48. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19c9): In function `FcConfigParseAndLoad':
    49. 49. : undefined reference to `XML_SetCharacterDataHandler'
    50. 50. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x19dd): In function `FcConfigParseAndLoad':
    51. 51. : undefined reference to `XML_GetBuffer'
    52. 52. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a23): In function `FcConfigParseAndLoad':
    53. 53. : undefined reference to `XML_ParseBuffer'
    54. 54. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1a53): In function `FcConfigParseAndLoad':
    55. 55. : undefined reference to `XML_ParserFree'
    56. 56. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c44): In function `FcConfigParseAndLoad':
    57. 57. : undefined reference to `XML_GetErrorCode'
    58. 58. /usr/lib/gcc/i386-redflag-linux/3.4.3/../../../libfontconfig.a(fcxml.o)(.text+0x1c4c): In function `FcConfigParseAndLoad':
    59. 59. : undefined reference to `XML_ErrorString'
    60. 60. collect2: ld returned 1 exit status
    61. 61. make: *** [complexwizard] error 1
    To copy to clipboard, switch view to plain text mode 

    Note : The above error almost existed on every platform I used (For example: Fedora 5,RedFlag 4、5、workstation5.0,Mandriva 2006 free)

    I originally considered it as the problem of fontconfig. But the problem appeared as of old when I download the original code of fontconfig which is the up-to-date version to compile again. I don’t know why.

    --------------------------------------------------------------------------------------------------------
    Another important question for me is that when I used Chinese input method in Designer it produced disordered code which happened not in the mode of static complication but in dynamic complication.

    I am going at a setup program. I can’t expect all the machines which will use my program have the QT4 surrounding. So I am going to compile my program in the mode of static complication. I have reached good result in the surrounding of QT3 whether it is used to link or international process. I wonder how to use QT4 to obtain the perfect result. Is there anybody can help me? Thank you !
    Last edited by qintm; 20th April 2006 at 05:19.

  7. #7
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: I got two problems when I used static compiled library of QT4

    Quote Originally Posted by qintm
    I got two problems when I used static compiled library of QT4. The first one is the error in using static compile and link.
    If you answer the questions asked, I might be able to help. Asking the same question again in a new thread will probably not get you anywhere. There's an issue with -static. Have you somehow added -static anywhere, except of course for the -static option of configure?

    Quote Originally Posted by qintm
    In order to test the linking of static library, I used the program “complexwizard” which is belong to QT4. The error is as below:
    Ah! The complexwizard example should have been built while building Qt itself. Isn't that the case?

    OK, I understand Qt has been built without problems. You now have problems linking your own programs (or Qt examples) using the -static linker option which you have added yourself. Am I correct?
    Last edited by wysota; 20th April 2006 at 09:54. Reason: Thread merge

  8. #8
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: I got two problems when I used static compiled library of QT4

    Quote Originally Posted by qintm
    Warning appeared at the end of compilation: It can’t use plug-in in static compilation. I wonder whether there is a plug-in mode in QT4’s international processing.
    Some input methods and JCK codecs are available as plugins when building a shared Qt library:
    Qt Code:
    1. $ ls plugins/codecs plugins/inputmethods
    2. plugins/codecs:
    3. libqcncodecs_debug.so libqjpcodecs.so libqtwcodecs_debug.so
    4. libqcncodecs.so libqkrcodecs_debug.so libqtwcodecs.so
    5. libqjpcodecs_debug.so libqkrcodecs.so
    6.  
    7. plugins/inputmethods:
    8. libqimsw-multi_debug.so libqimsw-multi.so
    9. $
    To copy to clipboard, switch view to plain text mode 
    With a static Qt library, you probably need to build them into the Qt library, or maybe into your application. Do you have any specific problem?

  9. #9
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: I got two problems when I used static compiled library of QT4

    Threads merged.

Similar Threads

  1. QMAKE: Building static library without -fPIC
    By rainman110 in forum Qt Programming
    Replies: 1
    Last Post: 2nd May 2012, 17:07
  2. Compiling QCA as static library
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2008, 18:32
  3. Replies: 22
    Last Post: 8th October 2008, 14:54
  4. Replies: 16
    Last Post: 23rd May 2008, 11:12
  5. Building qt program with static library
    By JonathanForQT4 in forum Newbie
    Replies: 2
    Last Post: 23rd June 2007, 00:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.