|
2012-11-10
, 15:18
|
|
Posts: 234 |
Thanked: 281 times |
Joined on Nov 2010
@ Helsinki
|
#22
|
QRemoteControl also opens a TCP connection to the client, so lsof shows 2 connections and netstat one when connected. Have you any kind of firewall running?
Is it maybe possible to make a Debug build or to use a network sniffer to make sure the packets are reaching the server?
|
2012-11-11
, 23:16
|
Posts: 16 |
Thanked: 44 times |
Joined on Oct 2012
@ Austria
|
#23
|
So i've downloaded the SourceCode, the SDK and hit Build.
As expected it didn't compile in the first try. There are 16 Errors all related to 'globalFakeKey' not being declared in this scope, the scope being the qglobalfakekey.cpp file. Any suggestions? I'll play around for a while but the last time i program was looooong time ago and well i will have to study the code to try to understand what's going on. Could it be that the definitions ".h" are not being read on time?
Well if you have any suggestions please let me know.
|
2012-11-11
, 23:20
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#24
|
|
2012-11-12
, 10:54
|
Posts: 16 |
Thanked: 44 times |
Joined on Oct 2012
@ Austria
|
#25
|
|
2012-11-12
, 18:17
|
Posts: 230 |
Thanked: 302 times |
Joined on Oct 2009
@ Helsinki, Suomi (Finland)
|
#26
|
|
2012-11-13
, 19:30
|
Posts: 38 |
Thanked: 24 times |
Joined on Aug 2012
@ Zürich, Switzerland
|
#27
|
@jmsarriat
I added an empty class for OSX, I hope that it compiles now.
@F2thaK
Yes it can. It "fakes" real keyboard input, so it works like a physical keyboard with multimedia keys, it is also possible to define any key combination you like.
|
2012-11-14
, 15:31
|
Posts: 16 |
Thanked: 44 times |
Joined on Oct 2012
@ Austria
|
#28
|
Hi again,
well it's getting better but now after trying to build i get 17 warnings many if not all of them related to unused values and one error with the following output:
"Undefined symbols for architecture x86_64:
"vtable for QGlobalFakeKeyPrivate", referenced from:
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::~QGlobalFakeKeyPrivate()in qglobalfakekey_osx.o
QGlobalFakeKeyPrivate::QGlobalFakeKeyPrivate(QObje ct*)in qglobalfakekey_osx.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [qremotecontrol-server.app/Contents/MacOS/qremotecontrol-server] Error 1
make: Leaving directory `/Users/juanmanuelsarria/Downloads/QRemoteControl-Server-build-Desktop-Debug'
20:17:57: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QRemoteControl-Server (target: Desktop)
When executing step 'Make'"
I was looking at your headers and in both cases you include either windows.h or some other headers which i imagine are platform dependent. There is none for the mac header, any clue what the name of it may be?
Thanks in advance for your help.
|
2012-11-14
, 23:34
|
Posts: 38 |
Thanked: 24 times |
Joined on Aug 2012
@ Zürich, Switzerland
|
#29
|
Got it, I actually added the header as source in the pro file *facepalm*. The warnings are quite normal, as the functions are doing nothing and the variables are unused. No need to define any system dependant header yet. Repository is updated.
|
2012-11-18
, 16:09
|
Posts: 16 |
Thanked: 44 times |
Joined on Oct 2012
@ Austria
|
#30
|
Hi there,
Built successfully in first attempt! I managed to build and run the server on the mac! The phone sees the pc and connects without a problem, the only hiccup is that the only functionality so far is the cursor movement. No click or keystroke was perceived by the laptop, what could be the problem? By the way i noticed that in the pic you posted earlier the app has a black theme, somehow different from the one i have, am i missing something? In any case the functionality, not the form, is what i am most interested in.
As always i am most grateful for you help.
The Following User Says Thank You to Strahlex For This Useful Post: | ||
As expected it didn't compile in the first try. There are 16 Errors all related to 'globalFakeKey' not being declared in this scope, the scope being the qglobalfakekey.cpp file. Any suggestions? I'll play around for a while but the last time i program was looooong time ago and well i will have to study the code to try to understand what's going on. Could it be that the definitions ".h" are not being read on time?
Well if you have any suggestions please let me know.