executeable program can be run in the qtcreator, but not outside. libs problem



  • Dear all,

    it is very strange, it was succeeded to be compiled in qtcreator and can be run. while the program cannot be run directly. I mean to run the executeable program in the folder. it will show lots of errors about libs. what I can see, 'it' just said I did not find all the libs and has pointer and memory problems.

    *** Error in `./BCI-Cleaner': realloc(): invalid pointer: 0x0000000000665860 ***
    ======= Backtrace: =========
    /lib64/libc.so.6[0x3859e77a8d]
    /lib64/libc.so.6(realloc+0x2c3)[0x3859e849c3]
    /lib64/libQt5Core.so.5(_ZN9QListData7reallocEi+0x1f)[0x386ad0876f]
    /lib64/libQt5Core.so.5(_ZN9QListData6appendEi+0x81)[0x386ad08841]
    /lib64/libQt5Core.so.5[0x386add4f68]
    /lib64/libQt5Core.so.5(Z21qRegisterResourceDataiPKhS0_S0+0x2e6)[0x386add0d06]
    /lib64/libQt5Core.so.5[0x386ac79af3]
    /lib64/ld-linux-x86-64.so.2[0x385960f63a]
    /lib64/ld-linux-x86-64.so.2[0x385960f74b]
    /lib64/ld-linux-x86-64.so.2[0x3859600cba]
    ======= Memory map: ========
    00400000-00465000 r-xp 00000000 fd:02 13512088 /home/think/projects/wiener/Qt_project/build-BCI-Cleaner-Desktop-Release/BCI-Cleaner
    00664000-00665000 r--p 00064000 fd:02 13512088 /home/think/projects/wiener/Qt_project/build-BCI-Cleaner-Desktop-Release/BCI-Cleaner
    00665000-00666000 rw-p 00065000 fd:02 13512088 /home/think/projects/wiener/Qt_project/build-BCI-Cleaner-Desktop-Release/BCI-Cleaner
    006d6000-00718000 rw-p 00000000 00:00 0 [heap]
    3859600000-3859621000 r-xp 00000000 fd:01 644087 /usr/lib64/ld-2.21.so
    3859820000-3859821000 r--p 00020000 fd:01 644087 /usr/lib64/ld-2.21.so
    3859821000-3859822000 rw-p 00021000 fd:01 644087 /usr/lib64/ld-2.21.so
    3859822000-3859823000 rw-p 00000000 00:00 0
    3859a00000-3859a17000 r-xp 00000000 fd:01 644089 /usr/lib64/libpthread-2.21.so
    3859a17000-3859c16000 ---p 00017000 fd:01 644089 /usr/lib64/libpthread-2.21.so
    3859c16000-3859c17000 r--p 00016000 fd:01 644089 /usr/lib64/libpthread-2.21.so
    3859c17000-3859c18000 rw-p 00017000 fd:01 644089 /usr/lib64/libpthread-2.21.so
    3859c18000-3859c1c000 rw-p 00000000 00:00 0
    3859e00000-3859fb7000 r-xp 00000000 fd:01 644088 /usr/lib64/libc-2.21.so
    3859fb7000-385a1b6000 ---p 001b7000 fd:01 644088 /usr/lib64/libc-2.21.so
    385a1b6000-385a1ba000 r--p 001b6000 fd:01 644088 /usr/lib64/libc-2.21.so
    385a1ba000-385a1bc000 rw-p 001ba000 fd:01 644088 /usr/lib64/libc-2.21.so
    385a1bc000-385a1c0000 rw-p 00000000 00:00 0
    385a200000-385a307000 r-xp 00000000 fd:01 644093 /usr/lib64/libm-2.21.so
    385a307000-385a506000 ---p 00107000 fd:01 644093 /usr/lib64/libm-2.21.so
    385a506000-385a507000 r--p 00106000 fd:01 644093 /usr/lib64/libm-2.21.so
    385a507000-385a508000 rw-p 00107000 fd:01 644093 /usr/lib64/libm-2.21.so
    385a600000-385a603000 r-xp 00000000 fd:01 644092 /usr/lib64/libdl-2.21.so
    385a603000-385a802000 ---p 00003000 fd:01 644092 /usr/lib64/libdl-2.21.so
    385a802000-385a803000 r--p 00002000 fd:01 644092 /usr/lib64/libdl-2.21.so
    385a803000-385a804000 rw-p 00003000 fd:01 644092 /usr/lib64/libdl-2.21.so
    385aa00000-385aa15000 r-xp 00000000 fd:01 644090 /usr/lib64/libz.so.1.2.8
    385aa15000-385ac14000 ---p 00015000 fd:01 644090 /usr/lib64/libz.so.1.2.8
    385ac14000-385ac15000 r--p 00014000 fd:01 644090 /usr/lib64/libz.so.1.2.8
    385ac15000-385ac16000 rw-p 00015000 fd:01 644090 /usr/lib64/libz.so.1.2.8
    385ae00000-385ae16000 r-xp 00000000 fd:01 644094 /usr/lib64/libgcc_s-5.1.1-20150618.so.1
    385ae16000-385b015000 ---p 00016000 fd:01 644094 /usr/lib64/libgcc_s-5.1.1-20150618.so.1
    385b015000-385b016000 r--p 00015000 fd:01 644094 /usr/lib64/libgcc_s-5.1.1-20150618.so.1
    385b016000-385b017000 rw-p 00016000 fd:01 644094 /usr/lib64/libgcc_s-5.1.1-20150618.so.1
    385b200000-385b26e000 r-xp 00000000 fd:01 644130 /usr/lib64/libpcre.so.1.2.5
    385b26e000-385b46e000 ---p 0006e000 fd:01 644130 /usr/lib64/libpcre.so.1.2.5
    385b46e000-385b46f000 r--p 0006e000 fd:01 644130 /usr/lib64/libpcre.so.1.2.5
    385b46f000-385b470000 rw-p 0006f000 fd:01 644130 /usr/lib64/libpcre.so.1.2.5
    385b600000-385b621000 r-xp 00000000 fd:01 644131 /usr/lib64/libselinux.so.1
    385b621000-385b820000 ---p 00021000 fd:01 644131 /usr/lib64/libselinux.so.1
    385b820000-385b821000 r--p 00020000 fd:01 644131 /usr/lib64/libselinux.so.1
    385b821000-385b822000 rw-p 00021000 fd:01 644131 /usr/lib64/libselinux.so.1
    385b822000-385b824000 rw-p 00000000 00:00 0
    385ba00000-385ba07000 r-xp 00000000 fd:01 644100 /usr/lib64/librt-2.21.so
    385ba07000-385bc06000 ---p 00007000 fd:01 644100 /usr/lib64/librt-2.21.so
    385bc06000-385bc07000 r--p 00006000 fd:01 644100 /usr/lib64/librt-2.21.so
    385bc07000-385bc08000 rw-p 00007000 fd:01 644100 /usr/lib64/librt-2.21.so
    385be00000-385be02000 r-xp 00000000 fd:01 644113 /usr/lib64/libXau.so.6.0.0
    385be02000-385c002000 ---p 00002000 fd:01 644113 /usr/lib64/libXau.so.6.0.0
    385c002000-385c003000 r--p 00002000 fd:01 644113 /usr/lib64/libXau.so.6.0.0
    385c003000-385c004000 rw-p 00003000 fd:01 644113 /usr/lib64/libXau.so.6.0.0
    385c200000-385c221000 r-xp 00000000 fd:01 644114 /usr/lib64/libxcb.so.1.1.0
    385c221000-385c420000 ---p 00021000 fd:01 644114 /usr/lib64/libxcb.so.1.1.0
    385c420000-385c421000 r--p 00020000 fd:01 644114 /usr/lib64/libxcb.so.1.1.0
    385c421000-385c422000 rw-p 00021000 fd:01 644114 /usr/lib64/libxcb.so.1.1.0
    385c600000-385c73b000 r-xp 00000000 fd:01 644115 /usr/lib64/libX11.so.6.3.0
    385c73b000-385c93b000 ---p 0013b000 fd:01 644115 /usr/lib64/libX11.so.6.3.0
    385c93b000-385c93c000 r--p 0013b000 fd:01 644115 /usr/lib64/libX11.so.6.3.0
    385c93c000-385c941000 rw-p 0013c000 fd:01 644115 /usr/lib64/libX11.so.6.3.0
    385ca00000-385cb37000 r-xp 00000000 fd:01 536670 /usr/lib64/libglib-2.0.so.0.4400.1
    385cb37000-385cd37000 ---p 00137000 fd:01 536670 /usr/lib64/libglib-2.0.so.0.4400.1
    385cd37000-385cd38000 r--p 00137000 fd:01 536670 /usr/lib64/libglib-2.0.so.0.4400.1
    385cd38000-385cd39000 rw-p 00138000 fd:01 536670 /usr/lib64/libglib-2.0.so.0.4400.1
    385cd39000-385cd3a000 rw-p 00000000 00:00 0
    385ce00000-385ce26000 r-xp 00000000 fd:01 644123 /usr/lib64/libexpat.so.1.6.0
    385ce26000-385d026000 ---p 00026000 fd:01 644123 /usr/lib64/libexpat.so.1.6.0
    385d026000-385d029000 r--p 00026000 fd:01 644123 /usr/lib64/libexpat.so.1.6.0
    385d029000-385d02a000 rw-p 00029000 fd:01 644123 /usr/lib64/libexpat.so.1.6.0
    385d200000-385d211000 r-xp 00000000 fd:01 644116 /usr/lib64/libXext.so.6.4.0
    385d211000-385d410000 ---p 00011000 fd:01 644116 /usr/lib64/libXext.so.6.4.0
    385d410000-385d411000 r--p 00010000 fd:01 644116 /usr/lib64/libXext.so.6.4.0
    385d411000-385d412000 rw-p 00011000 fd:01 644116 /usr/lib64/libXext.so.6.4.0
    385d600000-385d772000 r-xp 00000000 fd:01 644095 /usr/lib64/libstdc++.so.6.0.21
    385d772000-385d972000 ---p 00172000 fd:01 644095 /usr/lib64/libstdc++.so.6.0.21
    385d972000-385d97c000 r--p 00172000 fd:01 644095 /usr/lib64/libstdc++.so.6.0.21
    385d97c000-385d97e000 rw-p 0017c000 fd:01 644095 /usr/lib64/libstdc++.so.6.0.21
    385d97e000-385d982000 rw-p 00000000 00:00 0
    385da00000-385da05000 r-xp 00000000 fd:01 644120 /usr/lib64/libXfixes.so.3.1.0
    385da05000-385dc04000 ---p 00005000 fd:01 644120 /usr/lib64/libXfixes.so.3.1.0
    385dc04000-385dc05000 r--p 00004000 fd:01 644120 /usr/lib64/libXfixes.so.3.1.0
    385dc05000-385dc06000 rw-p 00005000 fd:01 644120 /usr/lib64/libXfixes.so.3.1.0
    385de00000-385de0f000 r-xp 00000000 fd:01 644108 /usr/lib64/libbz2.so.1.0.6
    385de0f000-385e00e000 ---p 0000f000 fd:01 644108 /usr/lib64/libbz2.so.1.0.6
    385e00e000-385e00f000 r--p 0000e000 fd:01 644108 /usr/lib64/libbz2.so.1.0.6
    385e00f000-385e010000 rw-p 0000f000 fd:01 644108 /usr/lib64/libbz2.so.1.0.6
    385e200000-385e207000 r-xp 00000000 fd:01 644102 /usr/lib64/libffi.so.6.0.2
    385e207000-385e406000 ---p 00007000 fd:01 644102 /usr/lib64/libffi.so.6.0.2
    385e406000-385e407000 r--p 00006000 fd:01 644102 /usr/lib64/libffi.so.6.0.2
    385e407000-385e408000 rw-p 00007000 fd:01 644102 /usr/lib64/libffi.so.6.0.2
    385e600000-385e631000 r-xp 00000000 fd:01 644107 /usr/lib64/libpng16.so.16.19.0
    385e631000-385e830000 ---p 00031000 fd:01 644107 /usr/lib64/libpng16.so.16.19.0
    385e830000-385e831000 r--p 00030000 fd:01 644107 /usr/lib64/libpng16.so.16.19.0
    385e831000-385e832000 rw-p 00031000 fd:01 644107 /usr/lib64/libpng16.so.16.19.0
    385ea00000-385ea01000 r-xp 00000000 fd:01 644099 /usr/lib64/libgthread-2.0.so.0.4400.1
    385ea01000-385ec00000 ---p 00001000 fd:01 644099 /usr/lib64/libgthread-2.0.so.0.4400.1
    385ec00000-385ec01000 r--p 00000000 fd:01 644099 /usr/lib64/libgthread-2.0.so.0.4400.1
    385ec01000-385ec02000 rw-p 00001000 fd:01 644099 /usr/lib64/libgthread-2.0.so.0.4400.1
    385ee00000-385ee50000 r-xp 00000000 fd:01 644110 /usr/lib64/libgobject-2.0.so.0.4400.1
    385ee50000-385f050000 ---p 00050000 fd:01 644110 /usr/lib64/libgobject-2.0.so.0.4400.1
    385f050000-385f051000 r--p 00050000 fd:01 644110 /usr/lib64/libgobject-2.0.so.0.4400.1
    385f051000-385f052000 rw-p 00051000 fd:01 644110 /usr/lib64/libgobject-2.0.so.0.4400.1
    385f200000-385f2a2000 r-xp 00000000 fd:01 644109 /usr/lib64/libfreetype.so.6.11.4
    385f2a2000-385f4a1000 ---p 000a2000 fd:01 644109 /usr/lib64/libfreetype.so.6.11.4
    385f4a1000-385f4a7000 r--p 000a1000 fd:01 644109 /usr/lib64/libfreetype.so.6.11.4
    385f4a7000-385f4a8000 rw-p 000a7000 fd:01 644109 /usr/lib64/libfreetype.so.6.11.4
    385f600000-385f605000 r-xp 00000000 fd:01 644194 /usr/lib64/libXxf86vm.so.1.0.0
    385f605000-385f804000 ---p 00005000 fd:01 644194 /usr/lib64/libXxf86vm.so.1.0.0
    385f804000-385f805000 r--p 00004000 fd:01 644194 /usr/lib64/libXxf86vm.so.1.0.0
    385f805000-385f806000 rw-p 00005000 fd:01 644194 /usr/lib64/libXxf86vm.so.1.0.0
    385fa00000-385fa17000 r-xp 00000000 fd:01 644129 /usr/lib64/libresolv-2.21.so
    385fa17000-385fc17000 ---p 00017000 fd:01 644129 /usr/lib64/libresolv-2.21.so
    385fc17000-385fc18000 r--p 00017000 fd:01 644129 /usr/lib64/libresolv-2.21.so
    385fc18000-385fc19000 rw-p 00018000 fd:01 644129 /usr/lib64/libresolv-2.21.so
    385fc19000-385fc1b000 rw-p 00000000 00:00 0
    385fe00000-385fe01000 r-xp 00000000 fd:01 644176 /usr/lib64/libX11-xcb.so.1.0.0
    385fe01000-3860000000 ---p 00001000 fd:01 644176 /usr/lib64/libX11-xcb.so.1.0.0
    3860000000-3860001000 r--p 00000000 fd:01 644176 /usr/lib64/libX11-xcb.so.1.0.0
    3860001000-3860002000 rw-p 00001000 fd:01 644176 /usr/lib64/libX11-xcb.so.1.0.0
    3860200000-3860217000 r-xp 00000000 fd:01 644189 /usr/lib64/libxcb-glx.so.0.0.0
    3860217000-3860416000 ---p 00017000 fd:01 644189 /usr/lib64/libxcb-glx.so.0.0.0
    3860416000-3860418000 r--p 00016000 fd:01 644189 /usr/lib64/libxcb-glx.so.0.0.0
    3860418000-3860419000 rw-p 00018000 fd:01 644189 /usr/lib64/libxcb-glx.so.0.0.0
    3860600000-3860603000 r-xp 00000000 fd:01 644180 /usr/lib64/libxcb-shape.so.0.0.0
    3860603000-3860802000 ---p 00003000 fd:01 644180 /usr/lib64/libxcb-shape.so.0.0.0
    3860802000-3860803000 r--p 00002000 fd:01 644180 /usr/lib64/libxcb-shape.so.0.0.0
    3860803000-3860804000 rw-p 00003000 fd:01 644180 /usr/lib64/libxcb-shape.so.0.0.0
    3860a00000-3860a0c000 r-xp 00000000 fd:01 644183 /usr/lib64/libdrm.so.2.4.0
    3860a0c000-3860c0b000 ---p 0000c000 fd:01 644183 /usr/lib64/libdrm.so.2.4.0
    3860c0b000-3860c0c000 r--p 0000b000 fd:01 644183 /usr/lib64/libdrm.so.2.4.0
    3860c0c000-3860c0d000 rw-p 0000c000 fd:01 644183 /usr/lib64/libdrm.so.2.4.0
    3860e00000-3860e94000 r-xp 00000000 fd:01 644195 /usr/lib64/libGL.so.1.2.0
    3860e94000-3861093000 ---p 00094000 fd:01 644195 /usr/lib64/libGL.so.1.2.0
    3861093000-3861096000 r--p 00093000 fd:01 644195 /usr/lib64/libGL.so.1.2.0
    3861096000-3861097000 rw-p 00096000 fd:01 644195 /usr/lib64/libGL.so.1.2.0
    3861097000-3861098000 rw-p 00000000 00:00 0
    3861200000-386120c000 r-xp 00000000 fd:01 644191 /usr/lib64/libxcb-randr.so.0.1.0
    386120c000-386140c000 ---p 0000c000 fd:01 644191 /usr/lib64/libxcb-randr.so.0.1.0
    386140c000-386140d000 r--p 0000c000 fd:01 644191 /usr/lib64/libxcb-randr.so.0.1.0
    386140d000-386140e000 rw-p 0000d000 fd:01 644191 /usr/lib64/libxcb-randr.so.0.1.0
    3861600000-3861602000 r-xp 00000000 fd:01 632448 /usr/lib64/libxcb-present.so.0.0.0
    3861602000-3861801000 ---p 00002000 fd:01 632448 /usr/lib64/libxcb-present.so.0.0.0
    3861801000-3861802000 r--p 00001000 fd:01 632448 /usr/lib64/libxcb-present.so.0.0.0
    3861802000-3861803000 rw-p 00002000 fd:01 632448 /usr/lib64/libxcb-present.so.0.0.0
    3861a00000-3861a04000 r-xp 00000000 fd:01 644177 /usr/lib64/libxcb-dri2.so.0.0.0
    3861a04000-3861c03000 ---p 00004000 fd:01 644177 /usr/lib64/libxcb-dri2.so.0.0.0
    3861c03000-3861c04000 r--p 00003000 fd:01 644177 /usr/lib64/libxcb-dri2.so.0.0.0
    3861c04000-3861c05000 rw-p 00004000 fd:01 644177 /usr/lib64/libxcb-dri2.so.0.0.0
    3861e00000-3861e05000 r-xp 00000000 fd:01 644192 /usr/lib64/libxcb-sync.so.1.0.0
    3861e05000-3862005000 ---p 00005000 fd:01 644192 /usr/lib64/libxcb-sync.so.1.0.0
    3862005000-3862006000 r--p 00005000 fd:01 644192 /usr/lib64/libxcb-sync.so.1.0.0
    3862006000-3862007000 rw-p 00006000 fd:01 644192 /usr/lib64/libxcb-sync.so.1.0.0
    3862200000-3862202000 r-xp 00000000 fd:01 644190 /usr/lib64/libxcb-dri3.so.0.0.0
    3862202000-3862401000 ---p 00002000 fd:01 644190 /usr/lib64/libxcb-dri3.so.0.0.0
    3862401000-3862402000 r--p 00001000 fd:01 644190 /usr/lib64/libxcb-dri3.so.0.0.0
    3862402000-3862403000 rw-p 00002000 fd:01 644190 /usr/lib64/libxcb-dri3.so.0.0.0
    3862600000-3862602000 r-xp 00000000 fd:01 644188 /usr/lib64/libXdamage.so.1.1.0
    3862602000-3862801000 ---p 00002000 fd:01 644188 /usr/lib64/libXdamage.so.1.1.0
    3862801000-3862802000 r--p 00001000 fd:01 644188 /usr/lib64/libXdamage.so.1.1.0
    3862802000-3862803000 rw-p 00002000 fd:01 644188 /usr/lib64/libXdamage.so.1.1.0
    3862a00000-3862a09000 r-xp 00000000 fd:01 644179 /usr/lib64/libxcb-render.so.0.0.0
    3862a09000-3862c08000 ---p 00009000 fd:01 644179 /usr/lib64/libxcb-render.so.0.0.0
    3862c08000-3862c09000 r--p 00008000 fd:01 644179 /usr/lib64/libxcb-render.so.0.0.0
    3862c09000-3862c0a000 rw-p 00009000 fd:01 644179 /usr/lib64/libxcb-render.so.0.0.0
    3862e00000-3862e01000 r-xp 00000000 fd:01 644193 /usr/lib64/libxshmfence.so.1.0.0
    3862e01000-3863001000 ---p 00001000 fd:01 644193 /usr/lib64/libxshmfence.so.1.0.0
    3863001000-3863002000 r--p 00001000 fd:01 644193 /usr/lib64/libxshmfence.so.1.0.0
    3863002000-3863003000 rw-p 00002000 fd:01 644193 /usr/lib64/libxshmfence.so.1.0.0
    3863200000-3863229000 r-xp 00000000 fd:01 644187 /usr/lib64/libglapi.so.0.0.0
    3863229000-3863428000 ---p 00029000 fd:01 644187 /usr/lib64/libglapi.so.0.0.0
    3863428000-386342c000 r--p 00028000 fd:01 644187 /usr/lib64/libglapi.so.0.0.0
    386342c000-386342d000 rw-p 0002c000 fd:01 644187 /usr/lib64/libglapi.so.0.0.0
    386342d000-386342e000 rw-p 00000000 00:00 0
    3863600000-3863606000 r-xp 00000000 fd:01 644178 /usr/lib64/libxcb-xfixes.so.0.0.0
    3863606000-3863806000 ---p 00006000 fd:01 644178 /usr/lib64/libxcb-xfixes.so.0.0.0
    3863806000-3863807000 r--p 00006000 fd:01 644178 /usr/lib64/libxcb-xfixes.so.0.0.0
    3863807000-3863808000 rw-p 00007000 fd:01 644178 /usr/lib64/libxcb-xfixes.so.0.0.0
    3863a00000-3863a0f000 r-xp 00000000 fd:01 644117 /usr/lib64/libXi.so.6.1.0
    3863a0f000-3863c0e000 ---p 0000f000 fd:01 644117 /usr/lib64/libXi.so.6.1.0
    3863c0e000-3863c0f000 r--p 0000e000 fd:01 644117 /usr/lib64/libXi.so.6.1.0
    3863c0f000-3863c10000 rw-p 0000f000 fd:01 644117 /usr/lib64/libXi.so.6.1.0
    3863e00000-38640e6000 r-xp 00000000 fd:01 559813 /usr/lib64/libQtCore.so.4.8.6
    38640e6000-38642e6000 ---p 002e6000 fd:01 559813 /usr/lib64/libQtCore.so.4.8.6
    38642e6000-38642f0000 r--p 002e6000 fd:01 559813 /usr/lib64/libQtCore.so.4.8.6
    38642f0000-38642f1000 rw-p 002f0000 fd:01 559813 /usr/lib64/libQtCore.so.4.8.6
    38642f1000-38642f2000 rw-p 00000000 00:00 0
    3864600000-3864603000 r-xp 00000000 fd:01 644134 /usr/lib64/libcom_err.so.2.1
    3864603000-3864802000 ---p 00003000 fd:01 644134 /usr/lib64/libcom_err.so.2.1
    3864802000-3864803000 r--p 00002000 fd:01 644134 /usr/lib64/libcom_err.so.2.1
    3864803000-3864804000 rw-p 00003000 fd:01 644134 /usr/lib64/libcom_err.so.2.1
    3864a00000-3864a3d000 r-xp 00000000 fd:01 644124 /usr/lib64/libfontconfig.so.1.9.0
    3864a3d000-3864c3d000 ---p 0003d000 fd:01 644124 /usr/lib64/libfontconfig.so.1.9.0
    3864c3d000-3864c3f000 r--p 0003d000 fd:01 644124 /usr/lib64/libfontconfig.so.1.9.0
    3864c3f000-3864c44000 rw-p 0003f000 fd:01 644124 /usr/lib64/libfontconfig.so.1.9.0
    3864e00000-3864e04000 r-xp 00000000 fd:01 644103 /usr/lib64/libuuid.so.1.3.0
    3864e04000-3865003000 ---p 00004000 fd:01 644103 /usr/lib64/libuuid.so.1.3.0
    3865003000-3865004000 r--p 00003000 fd:01 644103 /usr/lib64/libuuid.so.1.3.0
    3865004000-3865005000 rw-p 00004000 fd:01 644103 /usr/lib64/libuuid.so.1.3.0
    3865200000-3865209000 r-xp 00000000 fd:01 644118 /usr/lib64/libXrender.so.1.3.0
    3865209000-3865408000 ---p 00009000 fd:01 644118 /usr/lib64/libXrender.so.1.3.0
    3865408000-3865409000 r--p 00008000 fd:01 644118 /usr/lib64/libXrender.so.1.3.0
    3865409000-386540a000 rw-p 00009000 fd:01 644118 /usr/lib64/libXrender.so.1.3.0
    3865600000-3865603000 r-xp 00000000 fd:01 644128 /usr/lib64/libkeyutils.so.1.5
    3865603000-3865802000 ---p 00003000 fd:01 644128 /usr/lib64/libkeyutils.so.1.5
    3865802000-3865803000 r--p 00002000 fd:01 644128 /usr/lib64/libkeyutils.so.1.5
    3865803000-3865804000 rw-p 00003000 fd:01 644128 /usr/lib64/libkeyutils.so.1.5
    3865a00000-3865a2f000 r-xp 00000000 fd:01 644133 /usr/lib64/libk5crypto.so.3.1
    3865a2f000-3865c2f000 ---p 0002f000 fd:01 644133 /usr/lib64/libk5crypto.so.3.1
    3865c2f000-3865c31000 r--p 0002f000 fd:01 644133 /usr/lib64/libk5crypto.so.3.1
    3865c31000-3865c32000 rw-p 00031000 fd:01 644133 /usr/lib64/libk5crypto.so.3.1Aborted (core dumped)



  • Hi, just a guess, but I see your program uses Qt5 and Qt4 at the same time, usually that does not end well.
    When you start your program from Qt Creator, is that of Qt5 or Qt4 flavor?



  • @hskoglund
    yeah, that is possible, qt3, qt4, and qt5 were installed.
    the version used in qtcreator is qt4.



  • @hskoglund

    Do you know how to avoid this? I mean only use the qt4 libs, not qt5.



  • Best way to avoid the collisions is to uninstall the unneeded versions (Qt3 and Qt5).
    Or, if that's not possible, doing it the hard way by erasing the files.
    EDIT: the last alternative is a bit more dangerous :-)


  • Qt Champions 2016

    @hskoglund
    I disagree. I regularly run several versions of Qt both from the system path and my own folder. Best way, by my opinion, is to understand what have gone wrong and fix it. Additionally, erasing files on linux (especially such that are from the system folders and probably managed by a package manager) is begging for trouble.

    @JohanSaji
    Shared objects are loaded at runtime, could you please provide a limited nm output so to be sure what version of Qt you've linked against? Do your external libraries (if any) are using the same Qt version as your application?



  • @kshegunov

    Thanks so much for suggestions. I agree what you said that these versions can work together.

    However, I cannot give you the output information of nm. that is because I already removed the qt4(qt-devel in fedora) and using the qt5(qt5-qtbase-devel), the reason is the collision come the qt4 and qt5. Now it is working.

    but still a little problem..., the GUI is slight different show when run in qtcreator and when run the program independently. I mean it is normal in qtcreator, but these widgets became light even cannot be distinguished although they are there.


  • Qt Champions 2016

    @Johan
    This is probably because of the qt's global settings on your platform. You may try playing a bit with them and see if there is any difference. I believe you should have qtconfig or something of the sort installed, where styles and appearances for all qt applications can be set.



  • @kshegunov
    actually there is no qtconfig in qt5.


  • Qt Champions 2016

    @Johan
    Well, I was left with the impression that you're building and using qt4.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.