R
R
Roman Spiridonov2011-04-11 07:40:54
linux
Roman Spiridonov, 2011-04-11 07:40:54

Cygwin: porting a Linux->Windows application?

We were given the task of porting an application from Linux to Windows using cygwin.
The project is in C++ and Qt, only system input/output is used from the includes, and the rest is taken from Qt. When building under cygwin, the following set of libraries is connected:

-lQtGui -lQtCore -lwsock32 -lvncclient -lpng -lz -lpthread

The exe-file is going to run, can't connect to xserver and throws an error. On the xservere launched from cygwin, almost all the functionality works.
In the project, nothing is used directly from x, but before main (...) is launched, it already requires a connection to it. The documentation for cygwin provides only a couple of meager examples that did not help much.
Maybe someone has already done porting to cygwin and can help? After all, Qt, in theory, should not require X for graphics to work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2011-04-11
@WNeZRoS

graphics require X. A Qt application can be assembled by simple compilation for Windows and no cygwin will be needed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question