Skip to content
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

Maybe error platform macro #23

Closed
L-Super opened this issue Aug 25, 2023 · 1 comment
Closed

Maybe error platform macro #23

L-Super opened this issue Aug 25, 2023 · 1 comment

Comments

@L-Super
Copy link
Member

L-Super commented Aug 25, 2023

#if defined(OS_WINDOWS)
#define kCefViewDefaultUserAgent "CefView/1.0 (Windows; en-us)"
#elif defined(OS_MACOS)
#define kCefViewDefaultUserAgent "CefView/1.0 (macOS; en-us)"
#elif defined(OS_LINUX)
#define kCefViewDefaultUserAgent "CefView/1.0 (Linux; en-us)"

@tishion
Copy link
Member

tishion commented Aug 26, 2023

these are correct macros. they were defined in CMakeList files. And core project is a pure c++ project thus you cannot use Q_XXXXX from Qt.

@tishion tishion closed this as completed Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants