Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Compile-Build KDSoap libraries
QtWS25 Last Chance

Compile-Build KDSoap libraries

Scheduled Pinned Locked Moved 3rd Party Software
qt 5.3.2c++64 bits32 bits
2 Posts 2 Posters 1.3k Views
  • 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.
  • A Offline
    A Offline
    Arturo Pablo R
    wrote on 16 Jun 2015, 17:48 last edited by Arturo Pablo R
    #1

    Hi, my problem is build in 32 bits version, the library KDSoap but my system is 64 bits, (i do builded easily version of 64 bits).
    In documentation says execute a python script and later execute a MAKE file(in the python options only use static and release), exist a file of g++.pri (here i modify the lines adding -m32 in CFLAGS),

    Here is mi g++.pri

    *-g++* {
       NORMAL_CFLAGS = -Wno-long-long -ansi -m32 
       win32-g++ {
       NORMAL_CFLAGS += -U__STRICT_ANSI__
    }
    
    
    NORMAL_CXXFLAGS = \
     -Wnon-virtual-dtor -Wundef -Wcast-align \
     -Wchar-subscripts -Wpointer-arith \
     -Wwrite-strings -Wpacked -Wformat-security \
     -Wmissing-format-attribute -Woverloaded-virtual
    
    # -Wconversion gives too many warnings from Qt-4.4.3 with gcc-4.3.2 (was fine with gcc-4.2.4), so removing it
    
    NORMAL_CFLAGS += -pedantic -m32
    
    CONFIG(debug, debug|release) {
    NORMAL_CXXFLAGS += -O0 -g3 -m32 
    NORMAL_CXXFLAGS -= -g
    }
    
    USABLE_CXXFLAGS = -Wold-style-cast -m32 
    HARD_CXXFLAGS = -Weffc++ -Wshadow -m32 
    PITA_CXXFLAGS = -Wunreachable-code -m32 
    
    QMAKE_CFLAGS   += $$NORMAL_CFLAGS 
    QMAKE_CXXFLAGS += $$NORMAL_CFLAGS $$NORMAL_CXXFLAGS 
    
    kdab:QMAKE_CFLAGS_WARN_ON   += $$NORMAL_CFLAGS -Werror 
    kdab:QMAKE_CXXFLAGS_WARN_ON += $$NORMAL_CFLAGS $$NORMAL_CXXFLAGS -Werror 
    
    #QMAKE_CXXFLAGS_WARN_ON += $$USABLE_CXXFLAGS
    #QMAKE_CXXFLAGS_WARN_ON += $$HARD_CXXFLAGS # headers must compile with this, code doesn't need to; needs patched Qt
    #QMAKE_CXXFLAGS_WARN_ON += $$PITA_CXXFLAGS # header would be nice, but it's probably pointless, due to noise from Qt and libstdc++
    
    }
    

    I probed using a Qt version of 32 bits, but i get a lot errors( like says "libQt5... is incompatible"), when i use a qt version of 64 bits, i only get errors like that:
    "/usr/bin/ld: se salta el /home/artur/proyects/KDSoap/lib/libxmlcommon.a incompatible find -lxmlcommon" (this error is repeated for every will generate file .so)

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 16 Jun 2015, 20:33 last edited by
      #2

      Hi,

      If you want to build KDSOAP for 32bit then just use a 32bit Qt build. You'll avoid all these troubles

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      16 Jun 2015, 20:33

      • Login

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