Undefined reference
Unsolved
General and Desktop
-
@joejack77 said in Undefined reference:
qmake6 file
Do you mean in your pro file?
It should work then. Did you do a complete rebuild?
Please post your pro file. -
@joejack77 said in Undefined reference:
qmake6 file
Do you mean in your pro file?
It should work then. Did you do a complete rebuild?
Please post your pro file.@jsulm
Yeah, i did full rebuild.
Sure. Here is my pro file:include (src.pri) # # Check # server:ccl{ error("Please specify only one target."); } # # Project properties # QT += core QT += network QT += sql CONFIG += c++17 # # VERSION CONFIG # message( "Generating ProjectConfig.h ..." ) versionconfig.input = ProjectConfig.h.qmake versionconfig.output = ../include/ProjectConfig.h QMAKE_SUBSTITUTES += versionconfig TEMPLATE = app DESTDIR = ../bin SOURCES += ProjectVersion.cpp \ main.cpp HEADERS += types.h # # Server # server { QT += sql QT -= gui CONFIG += console CONFIG -= app_bundle DEFINES += SERVER } # # ccl # ccl { QT += gui QT += widgets QT += sql DEFINES += CCL RESOURCES += ../FDP.qrc } # # Target properties # server:TARGET = fdpd ccl:TARGET = fdpccl
-
@jsulm
Yeah, i did full rebuild.
Sure. Here is my pro file:include (src.pri) # # Check # server:ccl{ error("Please specify only one target."); } # # Project properties # QT += core QT += network QT += sql CONFIG += c++17 # # VERSION CONFIG # message( "Generating ProjectConfig.h ..." ) versionconfig.input = ProjectConfig.h.qmake versionconfig.output = ../include/ProjectConfig.h QMAKE_SUBSTITUTES += versionconfig TEMPLATE = app DESTDIR = ../bin SOURCES += ProjectVersion.cpp \ main.cpp HEADERS += types.h # # Server # server { QT += sql QT -= gui CONFIG += console CONFIG -= app_bundle DEFINES += SERVER } # # ccl # ccl { QT += gui QT += widgets QT += sql DEFINES += CCL RESOURCES += ../FDP.qrc } # # Target properties # server:TARGET = fdpd ccl:TARGET = fdpccl
-
Is that you here and isn't that the same issue?
@Pl45m4 You are correct...