[xsd-users] Newbie question

James Gordon jjgw at jjgordon.com
Mon Sep 24 11:01:23 EDT 2018


Hi,

I am trying to get started with XSD and QtCreator (Qt 5.7, mingw32).

I followed instructions at:
http://wiki.codesynthesis.com/Using_XSD_with_Qt_Creator
I have my INCLUDEPATH and LIBS configured.

I am trying to build the tree hello example, which has two 'source' files:
driver.cxx and hello.xsd

My .pro file looks like:

SOURCES += hello.xsd \

           driver.cxx


If I attempt to build, I get error:

"hello.hxx: no such file or directory"

hello.hxx is included from driver.cxx, but obviously has to be
generated from xsd


I figure there must be some configuration needed for QtCreator, to tell it that

xsd generation must be invoked (i.e., xsd rule included in makefile)

How do I do that?


Thanks

James


More information about the xsd-users mailing list