![]() |
Здравствуйте, гость ( Вход | Регистрация )
![]() |
SABROG |
![]() ![]()
Сообщение
#1
|
![]() Профессионал ![]() ![]() ![]() ![]() ![]() Группа: Участник Сообщений: 1207 Регистрация: 8.12.2008 Из: Russia, Moscow Пользователь №: 446 Спасибо сказали: 229 раз(а) Репутация: ![]() ![]() ![]() |
Хочу такую красавицу внедрить в свое приложение:
![]() Тема называется Skulpture. Но проблема в том, что она доступна только в KDE, хотя вроде бы и создана для Qt. Может кто-нибудь знает как её использовать под виндой? Опаньки, кажись есть еспехи. Цитата C:\SABROG\skulpture-0.2.2.5>cmake -G "MinGW Makefiles"
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.5.0 WARNING: *** KDE4 not found, building a Qt-only version of Skulpture *** -- Configuring done -- Generating done -- Build files have been written to: C:/SABROG/skulpture-0.2.2.5 C:\SABROG\skulpture-0.2.2.5>mingw32-make [ 33%] Generating skulpture_p.moc [ 66%] Generating skulpture.moc Scanning dependencies of target skulpture [100%] Building CXX object src/CMakeFiles/skulpture.dir/skulpture.obj C:\SABROG\skulpture-0.2.2.5\src\skulpture.cpp: In function `QRect progressBarCon tentsRect(const QStyleOptionProgressBarV2*, bool)': C:\SABROG\skulpture-0.2.2.5\src\skulpture.cpp:6642: warning: converting to `int' from `double' C:\SABROG\skulpture-0.2.2.5\src\skulpture.cpp:6654: warning: converting to `int' from `double' C:\SABROG\skulpture-0.2.2.5\src\skulpture.cpp: In function `void paintProgressBa rContents(QPainter*, const QStyleOptionProgressBarV2*, const QWidget*, const QSt yle*)': C:\SABROG\skulpture-0.2.2.5\src\skulpture.cpp:6843: warning: passing `double' fo r converting 2 of `QPoint::QPoint(int, int)' Linking CXX shared library libskulpture.dll Creating library file: libskulpture.dll.a [100%] Built target skulpture Сообщение отредактировал SABROG - 24.3.2009, 0:36 |
|
|
![]() |
Kagami |
![]()
Сообщение
#2
|
Старейший участник ![]() ![]() ![]() ![]() Группа: Участник Сообщений: 601 Регистрация: 2.2.2009 Пользователь №: 523 Спасибо сказали: 101 раз(а) Репутация: ![]() ![]() ![]() |
Вот кусок из ассистанта
Цитата QSettings stores settings for an application in up to four locations, depending on whether the settings are user-specific or system-wide and whether the the settings are application-specific or organization-wide. For simplicity, we're assuming the organization is called MySoft and the application is called Star Runner. If the file format is IniFormat, the following files are used on Unix and Mac OS X:
$HOME/.config/MySoft/Star Runner.ini (Qt for Embedded Linux: $HOME/Settings/MySoft/Star Runner.ini) $HOME/.config/MySoft.ini (Qt for Embedded Linux: $HOME/Settings/MySoft.ini) /etc/xdg/MySoft/Star Runner.ini /etc/xdg/MySoft.ini On Windows, the following files are used: %APPDATA%\MySoft\Star Runner.ini %APPDATA%\MySoft.ini %COMMON_APPDATA%\MySoft\Star Runner.ini %COMMON_APPDATA%\MySoft.ini The %APPDATA% path is usually C:\Documents and Settings\User Name\Application Data; |
|
|
![]() ![]() ![]() |
![]() |
Текстовая версия | Сейчас: 11.3.2025, 3:09 |