Forum
Sign Up

Compile QtitanDocking using Cmake . Some Show problem.

1 year 4 months ago - 1 year 4 months ago #1 by Chen Qiuming
I change the project to CMake project.It compile OK .But when I run one example(SimplePanels) ,and I drag out one panel,the frame of the panel will become bigger. like cmake.png.And the qmake.jpg is ok
Attachments:
Last edit: 1 year 4 months ago by Chen Qiuming.

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

More
1 year 4 months ago #2 by Developer Machines
We don't officially support CMake yet. Support will be added in one of the next updates. Does this error appear in our examples compiled with regular Qmake script?

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

More
10 months 2 weeks ago #3 by Jun
I encountered the same problem.

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

More
10 months 2 weeks ago #4 by Jun
I solved this problem. Add the following when building QtitanDocking target:
target_include_directories(QtitanDocking PRIVATE
${Qt5Core_PRIVATE_INCLUDE_DIRS}
${Qt5Widgets_PRIVATE_INCLUDE_DIRS}
${Qt5Gui_PRIVATE_INCLUDE_DIRS}
)
target_compile_definitions(QtitanDocking PRIVATE QTN_PRIVATE_HEADERS)

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.130 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 )