On Fri, Jun 22, 2012 at 4:43 PM, Vincent Torri <vincent.torri@...> wrote:
> On Fri, Jun 22, 2012 at 3:26 PM, Fatih Küçükyavuz <fatihkyavuz@...> wrote:
>> On Fri, Jun 22, 2012 at 4:12 PM, Daniel Berjón Díez
>> <asuranceturix@...> wrote:
>>> On 22 June 2012 14:25, Fatih Küçükyavuz <fatihkyavuz@...> wrote:
>>>> I know there are some X11 libraries ported to Windows and maintained
>>>> by some commercial companies. Exceed XDK, MKS toolkit and LabF are
>>>> examples for allowing X11 development for Windows platforms. What I
>>>> need is to compile and link my Qt application with X11 libraries. I do
>>>> not want to bother about X11 API. I want to use single source code
>>>> base for X11 development with Qt.
>>> And in which way the usual Qt backend impedes that? Provided that your code
>>> uses only Qt and/or standard library APIs, you can very easily rebuild it in
>>> Windows with no changes. Actually, some of the point of libraries such as Qt
>>> or GTK is that you do not need to think whether you are using Windows, X11
>>> or Cocoa.
>> Yes my code making calls to only Qt standard GUI API. I do not have
>> any specific X11 statements in my code base. Qt automatically links my
>> GUI source code with X11 libraries on Linux platforms.
> an X11 (X Windows) application requires an X server to run. Either
> cygwin or (natively) Xming. You can't run an application using X
> Windows without an X server.
Sure, I'm using Xming as a XServer.
> If you want to compile your QT application using X Windows, you must
> have libx11 (or maybe libxcb, i don't know Qt). You can't avoid that.
I do not want to avoid using a X11 library. I know I need a X11
library in windows.
> You can compile them on Windows with MinGW (i've already done that).
I think after compiling the X11 libraries for windows, I should also
make some additional configurations in qmake.conf or makefiles to make
mingw compiler to build by Qt applicatioın with X11 libraries. Do you
have also such experience?
> don't understand why you said "I do not want to bother about X11 API".
> You won't directly use X11 API yourself.
I know I will not directly use and X11 API if I use Qt framework. I
want to say that I prefer using Qt (and its X11 bindings) instead of
using other X11 ports for windows.
> Vincent Torri
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> MinGW-users mailing list
> This list observes the Etiquette found at
> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
> You may change your MinGW Account Options or unsubscribe at:
> Also: mailto:mingw-users-request@...