Forum
Sign Up

How to combine QtitanDocking 2.3.0 and QtitanRibbon 4.18.0?

5 years 1 day 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
5 years 10 hours 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
5 years 3 hours 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.126 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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )