Форум программистов, компьютерный форум, киберфорум
C++ Qt
Войти
Регистрация
Восстановить пароль
Блоги Сообщество Поиск  
 
 
Рейтинг 4.89/132: Рейтинг темы: голосов - 132, средняя оценка - 4.89
Автор FAQ
 Аватар для RNT
3150 / 370 / 3
Регистрация: 08.08.2009
Сообщений: 1,126

Qt - This application has failed to start because mingwm10.dll was not found

11.10.2009, 20:01. Показов 25244. Ответов 30
Метки нет (Все метки)

Студворк — интернет-сервис помощи студентам
Здравствуйте. На Windows XP почтавил Qt Creator . Компилирую проект, запускаю exe`шник и вылезает
сообщение "This application has failed to start because mingwm10.dll was not found.
Re-installing the application may fix this problem." . Ищу этот файл (mingwm10.dll) в папке
с Qt Creator`ом, нахожу и копирую в папку с программой. Запускаю программу и вылезает
сообщение что не найден другой dll файл. Нахожу все необходимые файлы и складываю в папку с программой.
Во первых, это гемор. Во вторых эти dll файлы много весят (100 МБ).
Как сделать чтобы программа работала без dll ?
0
Programming
Эксперт
39485 / 9562 / 3019
Регистрация: 12.04.2006
Сообщений: 41,671
Блог
11.10.2009, 20:01
Ответы с готовыми решениями:

Application has failed to start because the application configuration is incorrect (+LNK4099, 4098)
Получил тестовое задание на джуна C++. Проект - Недоделанный арканоид на собственном движке конторы. Моя задача допилить игру. В задании 2...

This application failed to start
Собрал нужные библиотеки для развёртывания 32-х битного приложения Qt. На сколько я знаю, такие приложения должны запускаться и на...

Ошибка This application failed to start because no Qt platform plugin could be initialized
Здравствуйте. При запуске QT приложения возникает такая ошибка: This application failed to start because no Qt platform plugin could be...

30
Evg
Эксперт CАвтор FAQ
 Аватар для Evg
21285 / 8310 / 637
Регистрация: 30.03.2009
Сообщений: 22,671
Записей в блоге: 30
14.10.2009, 23:17
Студворк — интернет-сервис помощи студентам
Цитата Сообщение от oxotnik Посмотреть сообщение
положить то положили, только это все флагами описывается, и под винду надо все пути указывать, иначе нифига не найдет, и под студией не легче собирать, легче под ней работать.
Это понятно, что надо, но неужто опять в файлах всяких ручками копаться?
0
 Аватар для oxotnik
1665 / 1134 / 80
Регистрация: 21.08.2008
Сообщений: 4,734
Записей в блоге: 1
14.10.2009, 23:48
Цитата Сообщение от Evg Посмотреть сообщение
Это понятно, что надо, но неужто опять в файлах всяких ручками копаться?
не надо ковыряться, если это про make-файлы, там все есть, а чего нет, само форимируется
0
Автор FAQ
 Аватар для RNT
3150 / 370 / 3
Регистрация: 08.08.2009
Сообщений: 1,126
15.10.2009, 11:35  [ТС]
Все перепробовал, пробовал добавлять в Path C:\Qt\2009.03\qt\bin;C:\Qt\2009.03\qt. Пробовал в консоль вводить SET QTDIR=C:\Qt\2009.03\bin. Все равно выдает:

Creating qmake.. .
execute: File or path is not found <mingw32-make>
execute: File or path is not found <mingw32-make>
Cleaning qmake failed, return code —1


Попробовал добавить в Path C:\MinGW\bin, щас компилит, пока вроде нормально. В Линуксе компиляция шла 4 часа.
0
 Аватар для oxotnik
1665 / 1134 / 80
Регистрация: 21.08.2008
Сообщений: 4,734
Записей в блоге: 1
15.10.2009, 11:39
поставь студию Express и не парься с gcc
0
Evg
Эксперт CАвтор FAQ
 Аватар для Evg
21285 / 8310 / 637
Регистрация: 30.03.2009
Сообщений: 22,671
Записей в блоге: 30
15.10.2009, 13:48
Цитата Сообщение от RNT Посмотреть сообщение
В Линуксе компиляция шла 4 часа.
А ты что делаешь? qt собираешь?

Добавлено через 1 минуту
Посмотрел поставку Qt SDK под линух - и вправду ведь только динамические библиотеки. Вот почему у них никак не получается без того, чтобы сделать через ж...у
0
Автор FAQ
 Аватар для RNT
3150 / 370 / 3
Регистрация: 08.08.2009
Сообщений: 1,126
15.10.2009, 22:30  [ТС]
Сконфигурировал, потом ввел mingw32-make, комплилилось, компилилось, а потом вышла куча ошибок.

Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
ssl\qsslsocket_openssl_symbols_p.h:289: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:289: error: expected primary-expression befor
e "const"
ssl\qsslsocket_openssl_symbols_p.h:289: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:289: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:290: error: variable or field `q_SSL_free' de
clared void
ssl\qsslsocket_openssl_symbols_p.h:290: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:290: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:295: error: expected constructor, destructor,
 or type conversion before '(' token
ssl\qsslsocket_openssl_symbols_p.h:300: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:302: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:302: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:302: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:302: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:303: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:304: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:304: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:309: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:309: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:313: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:314: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:314: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:314: error: expected primary-expression befor
e "void"
ssl\qsslsocket_openssl_symbols_p.h:314: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:314: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:315: error: variable or field `q_SSL_set_bio'
 declared void
ssl\qsslsocket_openssl_symbols_p.h:315: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:315: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:315: error: `BIO' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:315: error: `b' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:315: error: `BIO' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:315: error: `c' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:315: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:316: error: variable or field `q_SSL_set_acce
pt_state' declared void
ssl\qsslsocket_openssl_symbols_p.h:316: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:316: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:317: error: variable or field `q_SSL_set_conn
ect_state' declared void
ssl\qsslsocket_openssl_symbols_p.h:317: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:317: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:318: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:318: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:329: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:330: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:331: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:332: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:333: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:334: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:335: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:336: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:338: error: `SSL' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:338: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:338: error: expected primary-expression befor
e "const"
ssl\qsslsocket_openssl_symbols_p.h:338: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:338: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:347: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:349: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:352: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:353: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:354: error: `X509_STORE_CTX' was not declared
 in this scope
ssl\qsslsocket_openssl_symbols_p.h:354: error: `ctx' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:355: error: `X509_NAME' was not declared in t
his scope
ssl\qsslsocket_openssl_symbols_p.h:355: error: `a' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:355: error: expected primary-expression befor
e "char"
ssl\qsslsocket_openssl_symbols_p.h:355: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:355: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:356: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:357: error: variable or field `q_X509_STORE_f
ree' declared void
ssl\qsslsocket_openssl_symbols_p.h:357: error: `X509_STORE' was not declared in
this scope
ssl\qsslsocket_openssl_symbols_p.h:357: error: `store' was not declared in this
scope
ssl\qsslsocket_openssl_symbols_p.h:358: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:359: error: `X509_STORE' was not declared in
this scope
ssl\qsslsocket_openssl_symbols_p.h:359: error: `ctx' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:359: error: expected primary-expression befor
e '*' token
ssl\qsslsocket_openssl_symbols_p.h:359: error: `x' was not declared in this scop
e
ssl\qsslsocket_openssl_symbols_p.h:359: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:360: error: variable or field `q_X509_STORE_C
TX_free' declared void
ssl\qsslsocket_openssl_symbols_p.h:360: error: `X509_STORE_CTX' was not declared
 in this scope
ssl\qsslsocket_openssl_symbols_p.h:360: error: `storeCtx' was not declared in th
is scope
ssl\qsslsocket_openssl_symbols_p.h:361: error: `X509_STORE_CTX' was not declared
 in this scope
ssl\qsslsocket_openssl_symbols_p.h:361: error: `ctx' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:361: error: `X509_STORE' was not declared in
this scope
ssl\qsslsocket_openssl_symbols_p.h:361: error: `store' was not declared in this
scope
ssl\qsslsocket_openssl_symbols_p.h:362: error: expected primary-expression befor
e '*' token
ssl\qsslsocket_openssl_symbols_p.h:362: error: `x509' was not declared in this s
cope
ssl\qsslsocket_openssl_symbols_p.h:362: error: expected primary-expression befor
e ')' token
ssl\qsslsocket_openssl_symbols_p.h:362: error: `STACK_OF' was not declared in th
is scope
ssl\qsslsocket_openssl_symbols_p.h:362: error: `chain' was not declared in this
scope
ssl\qsslsocket_openssl_symbols_p.h:362: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:363: error: expected constructor, destructor,
 or type conversion before '*' token
ssl\qsslsocket_openssl_symbols_p.h:364: error: `X509_STORE_CTX' was not declared
 in this scope
ssl\qsslsocket_openssl_symbols_p.h:364: error: `ctx' was not declared in this sc
ope
ssl\qsslsocket_openssl_symbols_p.h:364: error: expected primary-expression befor
e "int"
ssl\qsslsocket_openssl_symbols_p.h:364: error: initializer expression list treat
ed as compound expression
ssl\qsslsocket_openssl_symbols_p.h:413: error: expected `,' or `...' before '*'
token
ssl\qsslsocket_openssl_symbols_p.h:413: error: ISO C++ forbids declaration of `A
SN1_TIME' with no type
In file included from ssl\qsslcertificate.cpp:113:
ssl\qsslkey_p.h:59:25: openssl/rsa.h: No such file or directory
ssl\qsslkey_p.h:60:25: openssl/dsa.h: No such file or directory
In file included from ssl\qsslcertificate.cpp:113:
ssl\qsslkey_p.h:90: error: ISO C++ forbids declaration of `RSA' with no type
ssl\qsslkey_p.h:90: error: expected `;' before '*' token
ssl\qsslkey_p.h:91: error: ISO C++ forbids declaration of `DSA' with no type
ssl\qsslkey_p.h:91: error: expected `;' before '*' token
ssl\qsslkey_p.h: In constructor `QSslKeyPrivate::QSslKeyPrivate()':
ssl\qsslkey_p.h:68: error: class `QSslKeyPrivate' does not have any field named
`rsa'
ssl\qsslkey_p.h:69: error: class `QSslKeyPrivate' does not have any field named
`dsa'
ssl\qsslcertificate.cpp: In member function `QMultiMap<QSsl::AlternateNameEntryT
ype, QString> QSslCertificate::alternateSubjectNames() const':
ssl\qsslcertificate.cpp:365: error: `GENERAL_NAME' was not declared in this scop
e
ssl\qsslcertificate.cpp:365: error: `STACK_OF' was not declared in this scope
ssl\qsslcertificate.cpp:365: error: `altNames' was not declared in this scope
ssl\qsslcertificate.cpp:365: error: expected primary-expression before ')' token
 
ssl\qsslcertificate.cpp:365: error: expected `;' before "q_X509_get_ext_d2i"
ssl\qsslcertificate.cpp:368: error: expected primary-expression before "int"
ssl\qsslcertificate.cpp:368: error: expected `)' before "int"
ssl\qsslcertificate.cpp:368: error: expected `)' before ';' token
ssl\qsslcertificate.cpp:369: error: expected initializer before '*' token
ssl\qsslcertificate.cpp:370: error: `genName' was not declared in this scope
ssl\qsslcertificate.cpp:370: error: `GEN_DNS' was not declared in this scope
ssl\qsslcertificate.cpp:370: error: `GEN_EMAIL' was not declared in this scope
ssl\qsslcertificate.cpp:370: warning: unused variable 'GEN_DNS'
ssl\qsslcertificate.cpp:370: warning: unused variable 'GEN_EMAIL'
ssl\qsslcertificate.cpp:373: error: `genName' was not declared in this scope
ssl\qsslcertificate.cpp:373: error: `q_ASN1_STRING_length' cannot be used as a f
unction
ssl\qsslcertificate.cpp:379: error: `q_ASN1_STRING_data' cannot be used as a fun
ction
ssl\qsslcertificate.cpp:381: error: `GEN_DNS' was not declared in this scope
ssl\qsslcertificate.cpp:383: error: `GEN_EMAIL' was not declared in this scope
ssl\qsslcertificate.cpp:383: warning: unused variable 'GEN_EMAIL'
ssl\qsslcertificate.cpp:381: warning: unused variable 'GEN_DNS'
ssl\qsslcertificate.cpp:386: error: `STACK' was not declared in this scope
ssl\qsslcertificate.cpp:386: error: expected primary-expression before ')' token
 
ssl\qsslcertificate.cpp:386: error: `q_sk_free' cannot be used as a function
ssl\qsslcertificate.cpp:386: warning: unused variable 'STACK'
ssl\qsslcertificate.cpp: In member function `QSslKey QSslCertificate::publicKey(
) const':
ssl\qsslcertificate.cpp:441: error: `X509_PUBKEY' was not declared in this scope
 
ssl\qsslcertificate.cpp:441: error: `xkey' was not declared in this scope
ssl\qsslcertificate.cpp:441: error: invalid use of undefined type `struct x509_s
t'
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:52: error: forwa
rd declaration of `struct x509_st'
ssl\qsslcertificate.cpp:442: error: `EVP_PKEY' was not declared in this scope
ssl\qsslcertificate.cpp:442: error: `pkey' was not declared in this scope
ssl\qsslcertificate.cpp:442: error: `q_X509_PUBKEY_get' was not declared in this
 scope
ssl\qsslcertificate.cpp:445: error: `EVP_PKEY_RSA' was not declared in this scop
e
ssl\qsslcertificate.cpp:446: error: 'class QSslKeyPrivate' has no member named '
rsa'
ssl\qsslcertificate.cpp:446: error: `q_EVP_PKEY_get1_RSA' was not declared in th
is scope
ssl\qsslcertificate.cpp:446: warning: unused variable 'q_EVP_PKEY_get1_RSA'
ssl\qsslcertificate.cpp:449: error: `EVP_PKEY_DSA' was not declared in this scop
e
ssl\qsslcertificate.cpp:450: error: 'class QSslKeyPrivate' has no member named '
dsa'
ssl\qsslcertificate.cpp:450: error: `q_EVP_PKEY_get1_DSA' was not declared in th
is scope
ssl\qsslcertificate.cpp:450: warning: unused variable 'q_EVP_PKEY_get1_DSA'
ssl\qsslcertificate.cpp:453: error: `EVP_PKEY_DH' was not declared in this scope
 
ssl\qsslcertificate.cpp:453: warning: unused variable 'EVP_PKEY_DH'
ssl\qsslcertificate.cpp:449: warning: unused variable 'EVP_PKEY_DSA'
ssl\qsslcertificate.cpp:445: warning: unused variable 'EVP_PKEY_RSA'
ssl\qsslcertificate.cpp:459: error: `q_EVP_PKEY_free' cannot be used as a functi
on
ssl\qsslcertificate.cpp:441: warning: unused variable 'X509_PUBKEY'
ssl\qsslcertificate.cpp:442: warning: unused variable 'EVP_PKEY'
ssl\qsslcertificate.cpp:442: warning: unused variable 'q_X509_PUBKEY_get'
ssl\qsslcertificate.cpp: In static member function `static QSslCertificate QSslC
ertificatePrivate::QSslCertificate_from_X509(X509*)':
ssl\qsslcertificate.cpp:666: error: `q_X509_get_issuer_name' was not declared in
 this scope
ssl\qsslcertificate.cpp:666: error: `q_X509_NAME_oneline' cannot be used as a fu
nction
ssl\qsslcertificate.cpp:668: error: `q_X509_get_subject_name' was not declared i
n this scope
ssl\qsslcertificate.cpp:668: error: `q_X509_NAME_oneline' cannot be used as a fu
nction
ssl\qsslcertificate.cpp:670: error: `ASN1_TIME' was not declared in this scope
ssl\qsslcertificate.cpp:670: error: `nbef' was not declared in this scope
ssl\qsslcertificate.cpp:670: error: `X509_get_notBefore' was not declared in thi
s scope
ssl\qsslcertificate.cpp:671: error: `naft' was not declared in this scope
ssl\qsslcertificate.cpp:671: error: `X509_get_notAfter' was not declared in this
 scope
ssl\qsslcertificate.cpp:666: warning: unused variable 'q_X509_get_issuer_name'
ssl\qsslcertificate.cpp:668: warning: unused variable 'q_X509_get_subject_name'
ssl\qsslcertificate.cpp:670: warning: unused variable 'X509_get_notBefore'
ssl\qsslcertificate.cpp:671: warning: unused variable 'X509_get_notAfter'
mingw32-make[2]: *** [tmp/obj/debug_static/qsslcertificate.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/qt-win-opensource-src-4.5.3/src/networ
k'
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/qt-win-opensource-src-4.5.3/src/networ
k'
mingw32-make: *** [sub-network-make_default-ordered] Error 2
 
C:\Qt\qt-win-opensource-src-4.5.3>
Наверно с этим я больше мудохаться не буду, в общем я понял, что надо собрать статическую сборку Qt. А то, что dll выносятся отдельно - это даже хорошо для разработчика, ведь если добавить в Path C:\Qt\2009.03\qt\bin, то программы будут работать, и место на жестом диске будет экономится. Если вдруг приспичит перенести прогу на другой комп, то dll`ки можно прихватить с собой.
0
Evg
Эксперт CАвтор FAQ
 Аватар для Evg
21285 / 8310 / 637
Регистрация: 30.03.2009
Сообщений: 22,671
Записей в блоге: 30
15.10.2009, 22:53
В FAQ напиши, что в теории проблема с .dll рулится статической линковкой, но на практике статических библиотек по умолчанию нету, а делать самому - это мудохаться и ещё раз мудохаться. Ну или может в конечном итоге кто-то нормально напишет, как qt собрать от начала и до конца

Добавлено через 2 минуты
А ещё посмотри на странице для скачивания Qt
http://qt.nokia.com/downloads - тыкаем в LGPL/Free
С правой стороны есть дистрибутивы Qt. Попробуй их скачать и установить. У меня под виндой библиотеки qt занимают порядка 80 мегов, а то, что предлагают скачать - 166 мегов. Может за счёт того, что там статические библиотеки появились?
1
Автор FAQ
 Аватар для RNT
3150 / 370 / 3
Регистрация: 08.08.2009
Сообщений: 1,126
15.10.2009, 23:28  [ТС]
Цитата Сообщение от Evg Посмотреть сообщение
А ещё посмотри на странице для скачивания Qt
http://qt.nokia.com/downloads - тыкаем в LGPL/Free
С правой стороны есть дистрибутивы Qt. Попробуй их скачать и установить. У меня под виндой библиотеки qt занимают порядка 80 мегов, а то, что предлагают скачать - 166 мегов. Может за счёт того, что там статические библиотеки появились?
Можно попробовать, может если установить Qt отдельно, то будет нужная опция


Цитата Сообщение от Evg Посмотреть сообщение
В FAQ напиши, что в теории проблема с .dll рулится статической линковкой, но на практике статических библиотек по умолчанию нету, а делать самому - это мудохаться и ещё раз мудохаться. Ну или может в конечном итоге кто-то нормально напишет, как qt собрать от начала и до конца
Я это добавил в свою статью

https://www.cyberforum.ru/faq/thread55383.html
Есть три варианта решения этой проблемы:
1) Надо просто найти все необходимые файлы(dll), и положить в папку с программой. Найти эти файлы можно в папке, в которую вы установили Qt(у меня C:\Qt\2009.03\qt\bin) . Когда вы все необходимые dll будут в папке с вашей программой, она запустится.
2) Если вы запускаете программу на своем компьютере(с установленной Qt), то будет достаточно прописать путь (в переменной окружения Path) к папке со всеми dll. Заходим в Панель инструментов => Система => Дополнительно => Переменные окружения. К переменной Path, через знак "точка с запятой" добавьте путь к папке /qt/bin, у меня например C:\Qt\2009.03\qt\bin. Сохраните. Ваши программы будут работать только на вашем компьютере. Если вы хотите запускать их на чужом компьютере, то используйте первый и третий вариант.
3) Собрать статическую сборку Qt и использовать ее для компиляции. Все необходимое для вашей программы будет включено в исполняемый файл. Рассмотрение это варианта выходит за рамки этого руководства. Приведу ссылки на сайты, где можно об этом почитать /*тут будут ссылки*/
0
Эксперт С++
 Аватар для Avazart
8489 / 6156 / 615
Регистрация: 10.12.2010
Сообщений: 28,683
Записей в блоге: 30
03.06.2011, 00:48
Можно скрин того где распологаются "опции проекта и тип сборки"?

config это файл или опция?
0
Эксперт С++
 Аватар для Avazart
8489 / 6156 / 615
Регистрация: 10.12.2010
Сообщений: 28,683
Записей в блоге: 30
09.06.2011, 01:34
Или хотя бы подробное описания что надо делать
0
 Аватар для oxotnik
1665 / 1134 / 80
Регистрация: 21.08.2008
Сообщений: 4,734
Записей в блоге: 1
09.06.2011, 08:58
Avazart,
https://www.cyberforum.ru/cpp-... 34568.html
0
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
inter-admin
Эксперт
29715 / 6470 / 2152
Регистрация: 06.03.2009
Сообщений: 28,500
Блог
09.06.2011, 08:58

ASP.NET не работет: The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found.
Проблема как и у всех: не работает asp.net. Прочесал все форумы, пробовал сделать всё как писалось - нифига не помогает. Однако есть...

Failed to start application (Code:4). Я не могу войти в ICQ 6.5
У меня ISQ 6.5. При входе выдает ошибку. Пишет &quot;Failed to start application (Code:4)&quot;. Я могу войти в аську, но не могу поставить Автовход...

This application failed to start because it could not find or load the Qt platform plugin "windows"
Да, я знаю, что этим вопросом заполнен весь интернет, включая англоязычный. Перечитано много тем и статей. У меня Qt 5.7 и Visual Studio...

Ошибка при запуске GTA4 "secuLauncher: failed to start application"
Windows 7...GTA 4...Ребят,подскажите пожалуйста игруля установилась,кликаю на ярлык выдаёт ошибку &quot;secuLauncher:failed to start...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
31
Ответ Создать тему
Новые блоги и статьи
Запустил конкурс "тем и промптов для текстовых квестов созданных почти чисто ИИ"
Adler 06.10.2026
Всем привет! За последние три-четыре дня я создал более 16 текстовых квестовых игр используя преимущественно по одному запросу к ИИ на игру. Мне так понравилось смотреть все ветки/ сцены во всех. . .
ИИ не может найти нужный язык в списке
Supersumestria 05.10.2026
Я ему даю вот такое изображение и прошу найти и подчеркнуть немецкий язык. Возвращает он вот это: https:/ / i. **********/ vqBWLe2. png Нужную строчку в 3й колонке просто выдумал. . Это. . .
Новая последняя моя музыка в SUNO
zorxor 05.10.2026
Здравствуйте, дорогие мои друзья! С большой радостью я хотел бы представить вам свою новую последнею музыку, которую сгенерировала мне по моей просьбе нейросеть SUNO. С уважением, zorxor. Это. . .
Программный домашний кинотеатр
russiannick 27.09.2026
Сподобился на программный домашний кинотеатр. В качестве ЯВУ по традиции выбрал js. В помощники взял Яндекс-Алису. Было создано три зала на разные интересы. исторические и ретро сериал Хичкок. . .
Беседа с ИИ о программистах, недопускающих к созданию и правке кода генеративные ИИ и причины этого
zorxor 21.09.2026
Раньше я радовался или получал некоторые эмоции, пусть небольшие, но всё же, от самого процесса написания кода, рекомпиляции и запуска, видя постепенное развитие программы и прочее. А теперь лень. . .
Мобильное приложение ColorStep
pavlinmavlin 17.09.2026
Реализовал приложение Красный, Зеленый, Синий в Unity3d + c#. Название изменил на ColorStep. Приложение прошло модерацию и теперь доступно для скачивания. Делал его сам, шаг за шагом — и вот,. . .
Запрет дублирования строк в табличной части
Maks 13.09.2026
Реализация из решения ниже выполнена на нетиповом справочнике "Нормы ТО" с табличной часть "Виды ТО", разработанного в КА2, со следующими реквизитами: - ВидТО (СправочникСсылка. ВидыТО); - ВидГСМ. . .
Скрипты Tampermonkey для CyberForum, ChatGPT, Claude и пр.
Jin X 06.09.2026
Скрипты Tampermonkey для CyberForum, ChatGPT, Claude и пр. Работая с форумом и нейросетями в браузере часто хочется что-то подкорректировать или добавить какого-то функционала. Ниже прикреплён. . .
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2026, CyberForum.ru