Solved symbol(s) not found for architecture x86_64
-
@TheCipo76 Nope, that does not help. We need Tools > Options > Kits.
-
@TheCipo76 And what about compilers and Qt versions?
-
i've choose compiler
and it works
-
@aha_1980 Other suggestion to set Qt in order to work properly?
Thank you
-
@TheCipo76 the settings doesnt look obviously wrong. I think the yellow warning sign is because no debugger is configured; but that should be no problem for compiling.
can you compile a Hello World Qt program?
-
Hi,
You should rather use Apple Clang as the compiler.
By the way, how did you install Qt ?
-
You should rather use Apple Clang as the compiler
@SGaist Good point - I missed that one.
-
@SGaist said in symbol(s) not found for architecture x86_64:
By the way, how did you install Qt
I've downloaded it from here:
and then i've updated from 5.12.0 to 5.12.3 and installed 5.13.0 too
Yesterday, as you see in the upper posted image, compiler was Apple Clang (x86_64) and project give me the error as i've wrote in the first post..
Now i've set it, as you suggested, and none error was reported..
Using 5.12.3 all works great,
Using 5.13.0, the same project, give me the error
"Drivers not loaded"QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7in the folder ...Qt ▸ 5.13.0 ▸ clang_64 ▸ plugins ▸ sqldrivers
i can't find libqsqlmysql.dylib
can you tell me how to fix it (otool / install_name_tool don't works if the file do not exist..) -
It looks like the installation is incomplete.
The quick solution would be to build the missing plugin.
-
@sgaist Ok, now all works Thank you all