QT爬坑記錄

2021-10-23 22:39:08 字數 597 閱讀 3420

2020/8/28

二、編譯提示 error: undefined reference to xx 看看建構函式是否為私有,如果為私有,格式為  類名(){}

三、qt編譯出來的exe並不能直接使用(配置了環境變數除外),一般會缺少依賴的dll。解決方案:1、在開始選單下找到對應的qt *** for desktop(使用的哪種編譯就選擇哪個)

四、無法開啟包含檔案"stddef.h"2021/01/21

一、幾個國內qt映象:

中國科學技術大學:

清華大學:

北京理工大學:

中國網際網路絡資訊中心:

二、中文亂碼 解決方案: 在qt(對應的msvc***_xx)的安裝路徑找到bin目錄,搜尋include資料夾,找到qglobal.h標頭檔案,在其中加入以下**:

#if _msc_ver >= 1600

#pragma execution_character_set("utf-8")

#endif

爬坑 自用記錄

mysql爬坑 在儲存過程中,想在concat中使用select into,into後的變數要只用帶 符號的,參考如下 begin declare totalcountsql varchar 500 set totalcountsql select count 1 into totalrecord ...

SpringBoot爬坑記錄

transactional事務回滾 方法上增加註解 transactional rollbackon exception.class public void example catch exception e 配置類序列化失敗 問題描述 將配置類使用 jackson 序列化時,出現序列化異常spri...

搭建fastDFS爬坑記錄 四

一 將 fastdfs nginx module v1.16.tar.gz 傳 至 fastdfs 的 storage 服 務 器 的 二 將 fastdfs nginx module src 下的 mod fastdfs.conf 拷貝至 etc fdfs 下 三 建立 nginx client ...