Russian Qt Forum

Qt => Общие вопросы => Тема начата: SL от Ноябрь 02, 2008, 07:13



Название: Использование Qt в Windows приложении
Отправлено: SL от Ноябрь 02, 2008, 07:13

Здравствуйте такой вопрос, предполагается разработка некого SDK для создания карт, и в требованиях стоит кроссплотферменность (Win/Linux/Mac).
Казалось бы Qt выбор очевидный, но появляется проблема в том, что придется клиентам которые будут разрабатывать приложения только под Win (это примерно 65 %, ) приобретать Qt. Если возможность создания ActiveX компонента на Qt. Или получить HWND из виджета, или  создать виджет по HWND, ну,  в общем, встроить  окно созданное средствами WinApi (или с использованием WTL/MFC).                 


Название: Re: Использование Qt в Windows приложении
Отправлено: Admin от Ноябрь 02, 2008, 09:13
Вообще конечно интересный вопрос: если я куплю QT и напишу SDK свое, должен ли клиент покупать QT - на мой взгляд нет, если он на прямую не будет дергать QT напрямую.


Название: Re: Использование Qt в Windows приложении
Отправлено: Detonator от Ноябрь 03, 2008, 13:20
Ну в лицензии QT все написано (т.е. клиент не должен покупать QT, но вы должны соблюдать некоторые условия)

Applications must add primary and substantial
functionality to the Qt; (vii) Applications may not
pass on functionality which in any way makes it possible for others to
create software with the Qt, however Licensee may use
the Qt's scripting functionality solely in order to
enable scripting that augments the functionality of the Application(s)
without adding primary and substantial functionality to the
Application(s);

Также вы можете cо своей SDK распространять объектные файлы (список 1) и не можешь прочие файлы (из списка 2)

1.Parts of the Licensed Software that are permitted for distribution ("Redistributables"):

The Licensed Software's main and plug-in libraries in object code form
The Licensed Software's configuration tool ("qtconfig")
The Licensed Software's help tool in object code/executable form ("Qt Assistant")
The Licensed Software's internationalization tools in object code/executable form ("Qt Linguist", "lupdate", "lrelease")

2.Parts of the Licensed Software that are not permitted for distribution include, but are not limited to:

The Licensed Software's source code and header files
The Licensed Software's documentation
The Licensed Software's designer tool ("Qt Designer")
The Licensed Software's tool for writing makefiles ("qmake")
The Licensed Software's Meta Object Compiler ("moc")
The Licensed Software's User Interface Compiler ("uic" or in the case of Qt Jambi: "juic")
The Licensed Software's Resource Compiler ("rcc")
The Licensed Software's generator (only in the case of Qt Jambi)