Forum
Sign Up
× DataGrid for Qt.C++

Color palette issue with static libs QTitan grid

6 years 4 months ago #1 by Jennifer
I dont want to use dlls in my project so I have built static libraries for qtngriddsgn and qtndbgrid projects. The output using dlls seems correct but when I use the static library implementation it looks weird. The color of grid header is changed to black and everything becomes flat with static libs.

Could you please help me resolving this issues?
Attachments:

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

More
6 years 4 months ago #2 by Developer Machines
Hi Stephane, very strange issue. Could you play with the air support view->options().setWindowsAirSupported(true/false); for the static build on your side? Does it has any affect on the issue?

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

More
6 years 4 months ago #3 by Jennifer
Hi,
I have tried with the air support view->options().setWindowsAirSupported(true/false); But it has no effects on the output, the earlier issue is still persist with these changes as well.

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

More
6 years 3 months ago #4 by Jennifer
Hi Support,

Any updates?

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

More
6 years 3 months ago - 6 years 3 months ago #5 by Developer Machines
Could not reproduce the problem. Can you tell me how you do the static build (if we use 'staticlib' key we have a problem with this)?

I'd suggest this way, please copy the file qtitangrid_static.pri to the

"c:\Program Files (x86)\Developer Machines\QtitanDataGrid5.11\src\shared\" folder.
In your application please add:

include(c:/Program Files (x86)/Developer Machines/QtitanDataGrid5.11/src/shared/src/shared/qtitangrid_static.pri)

qtitangrid_static.pri is attached to this post.

Or just create it with the content:

QTITAN_ROOT = $$PWD/../..

include($$QTITAN_ROOT/src/shared/platform.pri)
include($$QTITAN_ROOT/src/grid/dbgrid.pri)

DEFINES += QTITAN_LIBRARY_STATIC

!lessThan(QT_VER_MAJ, 5) {
QT += widgets printsupport gui-private
}
Last edit: 6 years 3 months ago by Developer Machines.

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

More
6 years 3 months ago #6 by Developer Machines
Bug has been reproduced. Fix will be available in the next update this week.
The following user(s) said Thank You: Jennifer

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