Forum
Sign Up

How to combine QtitanDocking 2.3.0 and QtitanRibbon 4.18.0?

6 years 3 months ago #1 by Jörn
Hello,
i have combined QtitanRibbon 4.18.0 and QTitanDocking 2.0.1. This works.
After upgrading to QtitanDocking 2.3.0 i cannot compile my project anymore.
#include <QtitanRibbon.h>
#include <QtitanDocking.h>
I always get something like this:
c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(50): error C2039: 'DockBarPosition': is not a member of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(36): note: see declaration of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(50): error C2061: syntax error: identifier 'DockBarPosition'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(52): error C2039: 'DockBarPosition': is not a member of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(36): note: see declaration of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(52): error C2061: syntax error: identifier 'DockBarPosition'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(76): error C2039: 'DockBarPosition': is not a member of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(36): note: see declaration of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(76): error C2065: 'DockBarPosition': undeclared identifier
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockbarmanager.h(76): error C2146: syntax error: missing ')' before identifier 'barPosition'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(109): error C2039: 'DockPanelAreas': is not a member of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(40): note: see declaration of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(109): error C3646: 'allowedAreas': unknown override specifier
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(109): error C2059: syntax error: '('
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(109): error C2238: unexpected token(s) preceding ';'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(110): error C2039: 'DockPanelAreas': is not a member of 'Qtitan'
1>c:\qt\developer machines\qtitandocking2.3.0\src\docking\qtndockwidgetpanel.h(40): note: see declaration of 'Qtitan'

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #2 by Developer Machines
Strange issue. We do not make any changes in this area. How you are merging the two projects? To build it together you have to merge base/ shared folder. I'd suggest to use /base folder from QtitanDocking component.

Please Log in or Create an account to join the conversation.

More
6 years 3 months ago #3 by Jörn
I have not merged the folders. I have added include paths to Ribbon and docking to my project.

According to your hint i have copied Docking folder to Ribbon folder. But now i had to delete many Qtitan:: (e.g. Qtitan::RibbonMainWindow, Qtitan::RibbonGroup)
After deleting many Qtitan:: i could compile the project but it crashes.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.164 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • support@devmachines.com

  • license@devmachines.com

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • support@devmachines.com( any questions related to our products or services )
  • license@devmachines.com( questions related to licensing )