Open OneTillEnd opened 5 years ago
I use Qt 5.10.1 and config environment variable as follows: "export LD_LIBRARY_PATH=/opt/Qt5.10.1/5.10.1/gcc_64/lib/". Then I cmake it again and it's successful.
maybe you can see following site (but for Chinese): http://www.misteo.top/2018/03/08/Ubuntu%E4%B8%8B%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0%E7%89%88Shadowsocks-Qt5/index.html
I’m going on well with the app-image, thanks though.
发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用
发件人: hedingjie notifications@github.com 发送时间: Thursday, March 28, 2019 10:17:31 AM 收件人: shadowsocks/shadowsocks-qt5 抄送: OneTillEnd; Author 主题: Re: [shadowsocks/shadowsocks-qt5] Compiling Error with Qt C++ class (#776)
maybe you can see following site (but for Chinese): http://www.misteo.top/2018/03/08/Ubuntu%E4%B8%8B%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0%E7%89%88Shadowsocks-Qt5/index.html
― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/shadowsocks/shadowsocks-qt5/issues/776#issuecomment-477418166, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfbsY6Lk6-uS3f8U_rPw1lKYDLB_3wiSks5vbCY7gaJpZM4aJjUJ.
/home/xxx/Software/shadowsocks-qt5-master/src/main.cpp:29:5: error: ‘setFallbackSessionManagementEnabled’ is not a member of ‘QApplication’ QApplication::setFallbackSessionManagementEnabled(false); ^ src/CMakeFiles/ss-qt5.dir/build.make:62: recipe for target 'src/CMakeFiles/ss-qt5.dir/main.cpp.o' failed make[2]: [src/CMakeFiles/ss-qt5.dir/main.cpp.o] Error 1 make[2]: 正在等待未完成的任务.... CMakeFiles/Makefile2:86: recipe for target 'src/CMakeFiles/ss-qt5.dir/all' failed make[1]: [src/CMakeFiles/ss-qt5.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: [all] Error 2
http://www.misteo.top/2018/03/08/Ubuntu%E4%B8%8B%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0%E7%89%88Shadowsocks-Qt5/index.html can not solve the problem
When I tried to compile from the source code, I got error message as below. I'm on Ubuntu 16.04 LTS with Qt 5.12.0