首先,请原谅我糟糕的英语.我希望你们明白我在说什么.
我开发了服务器和客户端系统.服务器端基于Qt,客户端基于PyQt.(我也希望基于Qt构建客户端,但由于几个问题,没有其他选择).
为了相互沟通,我使用了QLocalSocket.但这还不够.我想使用Signal和Slot通过网络.
幸运的是,我发现了QxtRPCPeer.它完全支持我想做的事情.但是,遗憾的是,我找不到如何QxtRPCPeer在Python(PyQt)上使用.
我尝试使用SIP,但我没有相关的经验,没有足够的时间自己学习SIP.
我希望有另一种方法可以在Qt和PyQt之间通过网络实现信号/插槽.我等待你的回复,并继续研究它.
我有最新的(git)版本的libqxt.我运行./configure并且运行正常,然后使用此错误失败:
linking ../../lib/QxtWidgets.framework/QxtWidgets
ld: warning: directory not found for option '-L/usr/local/pgsql/lib'
ld: warning: directory not found for option '-L/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
ld: warning: directory not found for option '-F/tmp/qt-stuff-85167/source/qt-everywhere-opensource-src-4.8.1/Desktop/Qt/4.8.1/gcc/lib'
Undefined symbols for architecture x86_64:
"_CGSGetWindowProperty", referenced from:
QxtWindowSystem::windowTitle(long) in qxtwindowsystem_mac.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [../../lib/QxtWidgets.framework/QxtWidgets] Error 1
make: *** [sub-src-widgets-install_subtargets] Error 2
Run Code Online (Sandbox Code Playgroud)
如果重要,我正在使用OSX Mountain Lion.
谢谢!
我有编译LibQxt为QT 5.问题http://dev.libqxt.org/libqxt/src
有提交说"Port Libqxt到Qt5".该项目说使用configure-premake但是它给出了没有premake for windows的错误,但是在premake文件夹中有一个名为premake.exe的文件,提交"Port LibQxt to Qt5",所以我猜他们添加了选项在Windows上为qt5编译但是没有更新bash脚本?任何人都有运气为使用visual c ++ 2010的Windows上的qt5编译libqxt,并希望与我分享如何?
谢谢