-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiled error when wsdl code generated #170
compiled error when wsdl code generated #170
Conversation
@@ -91,3 +91,6 @@ add_subdirectory(onvif_org_event) | |||
add_subdirectory(empty_list_wsdl) | |||
add_subdirectory(list_restriction) | |||
|
|||
add_subdirectory(kddatetime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rebase on top of master, this is already in there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
@@ -0,0 +1,20 @@ | |||
#include "wsdl_test_qsharedpointer_include_wsdl.h" | |||
|
|||
#include <QtTest> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's the full module including all of QtCore, please include only QTest.
|
||
#include <QtTest> | ||
|
||
class rightInclude: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class capitalization: RightInclude
|
||
void testCompiled() | ||
{ | ||
QVERIFY(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This statement does nothing, please remove it.
You could at least create an instance of the service, so that this doesn't compile with a fully empty generated file ;)
Hello_Service service;
unittests/unittests.pro
Outdated
@@ -37,6 +37,7 @@ SUBDIRS = \ | |||
encapsecurity \ | |||
prefix_wsdl \ | |||
vidyo \ | |||
kddatetime \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rebase
51dac4a
to
c8ea933
Compare
c8ea933
to
01cc592
Compare
changed adding a |
As I see, all issues are resolved. Do you have additional questions? |
…ted code (#170) * add test with compiled error code generated * fix class name * include only QTest * include QSharedPointer in header
The error is that when generating code, the inclusion of
<QSharedPointer>
occurs incode_from_wsdl.cpp
, and not incode_from_wsdl.h